Matlab7的?Error using ==> mrdivide Matrix dimensions must agr
来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/11/18 13:07:58
Matlab7的?Error using ==> mrdivide Matrix dimensions must agree.
a=1;
b=1;
k=1;
x=1:0.1:20;
NA=-pi/2*k/(asin(a/x)+(a/x).*sqrt(1-(a/x).^2));
w=1:0.01:200;
K=10;
num=K;
den=conv([0.5 1 0],[0.2 1]);
[rem,img,w]=Nyquist(num,den,w);
plot(real(NA),img(NA),rem,img)
grid;
xlabel('Re');
ylabel('Im');
NA那部分的代码出了问题,我该如何修改这个程序?
a=1;
b=1;
k=1;
x=1:0.1:20;
NA=-pi/2*k/(asin(a/x)+(a/x).*sqrt(1-(a/x).^2));
w=1:0.01:200;
K=10;
num=K;
den=conv([0.5 1 0],[0.2 1]);
[rem,img,w]=Nyquist(num,den,w);
plot(real(NA),img(NA),rem,img)
grid;
xlabel('Re');
ylabel('Im');
NA那部分的代码出了问题,我该如何修改这个程序?
改成NA=-pi/2.*k./(asin(a./x)+(a./x).*sqrt(1-(a./x).^2));
全部改成点乘点除就可以了.
全部改成点乘点除就可以了.
Matlab7的?Error using ==> mrdivide Matrix dimensions must agr
matlab 出错Error using ==> mrdivide Matrix dimensions must agr
matlab Error using ==> mrdivide Matrix dimensions must agree
matlab程序问题,Error using ==> mrdivide Matrix dimensions must a
matlab---出现?Error using ==> times Matrix dimensions must agr
matlab--?Error using ==> mtimes Inner matrix dimensions must
一直调试的问题是:Error using ==> mtimes Inner matrix dimensions must
matlab:Error using ==> mtimes Inner matrix dimensions must a
matlab中 Error using ==> mtimes Inner matrix dimensions must
Error using ==> mtimes Inner matrix dimensions must agree 用m
matlab Error using ==> mtimes Inner matrix dimensions must a
Matlab中出现Error using ==> *Inner matrix dimensions must agree