求教!!!!!! matlab 求解三角函数方程组 用solve和ezplot结果不一样

[复制链接]
查看11 | 回复1 | 2012-7-18 22:56:45 | 显示全部楼层 |阅读模式
% 数值解m1=0.0427;m2=1.1268;m3=1.7547;n3=-1.6309;f = @(z) [m1*cos(2*z(1)+2*z(2))+m2*cos(2*z(1))+m3*sin(2*z(1));cos(2*z(1)+2*z(2))+cos(2*z(2))+n3*sin(2*z(2))];x0 = [1.2; 0];% Make a starting guess at the solutionoptions = optimset('Display','off');% Turn off display[z1,Fval,exitflag] = fsolve(f,x0,options);x = ...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行