matlab 数除矩阵 画图Y=h/(x^2+h^2),h=5,x范围为[-15,15],画出Y的曲线.我用X=[-15:0.5:15],提示如下错误Error using ==> /Matrix dimensions must agree.Error in ==> d:\MATLAB6p5\work\mag.mOn line 6 ==> Y=h/(x.*x+h^2);怎么解决数除

来源:学生作业帮助网 编辑:作业帮 时间:2024/12/01 04:54:06
matlab 数除矩阵 画图Y=h/(x^2+h^2),h=5,x范围为[-15,15],画出Y的曲线.我用X=[-15:0.5:15],提示如下错误Error using ==> /Matrix dimensions must agree.Error in ==> d:\MATLAB6p5\work\mag.mOn line 6 ==> Y=h/(x.*x+h^2);怎么解决数除
x]KPǿʹŶm nH2aБcSeٛabve"76E Ht9=!Egr&ѱZ/`Ն,y_"|}u@Y>?s3=j7Kbժ)-cDȥr[0Z%)+ )@Q4#LNxV >/XhN@h26kAgϤ0~SN`AA؂_1JVE%>#

matlab 数除矩阵 画图Y=h/(x^2+h^2),h=5,x范围为[-15,15],画出Y的曲线.我用X=[-15:0.5:15],提示如下错误Error using ==> /Matrix dimensions must agree.Error in ==> d:\MATLAB6p5\work\mag.mOn line 6 ==> Y=h/(x.*x+h^2);怎么解决数除
matlab 数除矩阵 画图
Y=h/(x^2+h^2),h=5,x范围为[-15,15],画出Y的曲线.
我用X=[-15:0.5:15],提示如下错误
Error using ==> /
Matrix dimensions must agree.
Error in ==> d:\MATLAB6p5\work\mag.m
On line 6 ==> Y=h/(x.*x+h^2);
怎么解决数除矩阵的除法关系呢?

matlab 数除矩阵 画图Y=h/(x^2+h^2),h=5,x范围为[-15,15],画出Y的曲线.我用X=[-15:0.5:15],提示如下错误Error using ==> /Matrix dimensions must agree.Error in ==> d:\MATLAB6p5\work\mag.mOn line 6 ==> Y=h/(x.*x+h^2);怎么解决数除
数除矩阵要在除号前面加点
Y=h./(x.^2+h^2),
后面的平方也要加点的