MATLAB程序,这个程序不知道为什么出现?Error using ==> mpower Matrix must be
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/11/09 00:10:51
MATLAB程序,这个程序不知道为什么出现?Error using ==> mpower Matrix must be square.
数组之间的乘除要用点乘,点除
根据你的fortran程序,是不能直接乘除的,得改成for next循环
a=1
b=1
v0=2.0
for x=0:0.1:a
for y=0:0.1:b
v=v0
for i=1:2:200
v=v+4.0*v0/pi*(sin(i*x*pi/a)*sinh(i*pi*y/a)/(i*sinh(i*pi*b/a)))
next
x;y;v
next
next
根据你的fortran程序,是不能直接乘除的,得改成for next循环
a=1
b=1
v0=2.0
for x=0:0.1:a
for y=0:0.1:b
v=v0
for i=1:2:200
v=v+4.0*v0/pi*(sin(i*x*pi/a)*sinh(i*pi*y/a)/(i*sinh(i*pi*b/a)))
next
x;y;v
next
next
MATLAB程序,这个程序不知道为什么出现?Error using ==> mpower Matrix must be
matlab程序运行总是出现? Error using ==> sym.mpower Matrix must be sq
matlab Error using ==> mpower Matrix must be square.
matlab错误:? Error using ==> mpower Matrix must be square. 向高手
matlab计算时出现“ Error using ==> mpower Inputs must be a scalar
matlab程序问题,Error using ==> mrdivide Matrix dimensions must a
matlab程序Error using ==> times Matrix dimensions must agree.
MATLAB程序总是出现?Error using ==> stem at 44 X must be same lengt
这个matlab程序显示错误?Error using ==> conv A and B must be vectors.
MATLAB输入f=exp((-x)^2)为什么显示?Error using ==> mpower Matrix mus
matlab错误 Error using ==> mpower Inputs must be a scalar and
matlab出错? ? Error using ==> mpower Inputs must be 2-D.