matlab 问题 ??? Error using ==> mtimes Inner matrix dimensions must agree.程序如下:
x=-1:0.001:1; y=3.07226654*exp(-29.65293288*(x-1.43743)*(x-1.43743)); plot(x,y);
x=-1:0.001:1; y=3.07226654*exp(-29.65293288*(x-1.43743)*(x-1.43743)); plot(x,y);
答案:x=-1:0.001:1;
y=3.07226654*exp(-29.65293288*(x-1.43743).*(x-1.43743)); %有一个点。
plot(x,y);
其他:Error using ==