x=-3:0.1:3;y=x^3-x-3;plot(x,y);error:Inputs must be a scalar and a square matrix 请问高手 错在哪里 为什么错误 ,或者给出正确答案!thanks
把y中^换成.^
>> x=-3:0.1:3;
>> y=x.^3-x-3;
>> plot(x,y);