matlab中用fsolve时总是出现??? Attempt to execute SCRIPT fsolve as a function.
function q=my2deq(p)
q=zeros(2,1);
q(1)=p(1)*p(1)+p(2)^2-1;q(2)=0.75*p(1)^3-p(2)+0.9;
上面是m文件
%运行[x,y,c,d]=fsolve('my2deq',[1;2])
时出现??? Attempt to execute SCRIPT fsolve as a function.
是里面的设置问题吗?急切等待解决!