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)gr

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/30 14:28:49
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)gr
xK0lgMہkw*ZJմs5𠂢$Nexpzsi7_e+"=$>eWl ë" >qmP8"[€PRq듊)@fUbԌLZ y49*ɂJ \gS& un|[OVNedUe*[uвfamT-aM@JQb* ԢQHıZ7撘GWFY(Q?'ѦI忏ϫpa&/H\g pB\1q+0=5bSbMcpYY3$$B>nN<`z':1ӏ]tY< ;GQ8^VQ4Ofav_80A~=Ȱ {l[st _s@]=͎QmX

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)gr
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那部分的代码出了问题,我该如何修改这个程序?

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)gr
改成NA=-pi/2.*k./(asin(a./x)+(a./x).*sqrt(1-(a./x).^2));
全部改成点乘点除就可以了.