在线等。那位高手能告诉我怎么用matlab画函数y=x/(x^2+1)^(3/2)
来源:百度知道 编辑:UC知道 时间:2024/06/01 11:17:37
如题
x=[-10:0.1:10];
y=x/(x^2+1)^(3/2);
plot(x,y);
这个我试过.但弹出来句"??? Error using ==> mpower
Matrix must be square."
x=[-10:0.1:10];
y=x/(x^2+1)^(3/2);
plot(x,y);
这个我试过.但弹出来句"??? Error using ==> mpower
Matrix must be square."
不会,没用过那软件
x=[-10:0.1:10];
y=x/(x^2+1)^(3/2);
plot(x,y);
应该就是这样.....好几年没用过Matlab了...
有个矩阵的次方, 还有个矩阵中元素的次方, 那你试试这个
y=x/(x.^2+1).^(3/2);
x=[-10:0.1:10];
y=x/(x.^2+1).^(3/2);
plot(x,y);
已经测试过了,能行!