急,在线等matlab错误,怎么改 Unbalanced or unexpected parenthesis or br
来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/09/30 18:30:00
急,在线等matlab错误,怎么改 Unbalanced or unexpected parenthesis or bracket.
>> clear
for k=1:101
w=0.02*(k-1)+1e-8;
C1=2;C3=2;C2=4/3;L2=1;L4=1;
Z1=1./(w*C1*j);Z3=1./(w*C3*j);
Z2=L2*j*w+1./(j*w*C2);
Z4=L4*j*w; ZL=1;
Ya=[1./Z4, -1./Z4; -1./Z4, 1./Z4];
Zb=[Z1+Z2,Z2; Z2, Z3+Z2];Yb=inv(Zb);
Y=Ya+Yb;Z=inv(Y);
H(k)=Z(2,1)*ZL./(det(Z)+Z(1,1).*ZL);
Zin(k)=(det(Z)+Z(1,1)*ZL)./(Z(2,2)+ZL);
end
w1=[0:100]*0.02;
figure(1)
subplot(2,1,1),plot(w1,abs(H))
axis([0 2 0 2])
subplot(2, 1, 2),plot(w1,unwrap(angle(H)))
axisc[0 2 -10 0]
figure(2)
subplot(2,1,1),plot(w1,real(H))
subplot(2,1,2),plot(w1,imag(H))
figure(3)
subplot(2,1,1), plot(w1,real(Zin))
axis([0 2 0 2])
subplot(2, 1, 2),plot(w1,imag(Zin))
axisc[0 2 2 0.2]
Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 3.725290e-017.
Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 3.725290e-017.
报错? axisc[0 2 -10 0]
|
Error: Unbalanced or unexpected parenthesis or bracket.
>> clear
for k=1:101
w=0.02*(k-1)+1e-8;
C1=2;C3=2;C2=4/3;L2=1;L4=1;
Z1=1./(w*C1*j);Z3=1./(w*C3*j);
Z2=L2*j*w+1./(j*w*C2);
Z4=L4*j*w; ZL=1;
Ya=[1./Z4, -1./Z4; -1./Z4, 1./Z4];
Zb=[Z1+Z2,Z2; Z2, Z3+Z2];Yb=inv(Zb);
Y=Ya+Yb;Z=inv(Y);
H(k)=Z(2,1)*ZL./(det(Z)+Z(1,1).*ZL);
Zin(k)=(det(Z)+Z(1,1)*ZL)./(Z(2,2)+ZL);
end
w1=[0:100]*0.02;
figure(1)
subplot(2,1,1),plot(w1,abs(H))
axis([0 2 0 2])
subplot(2, 1, 2),plot(w1,unwrap(angle(H)))
axisc[0 2 -10 0]
figure(2)
subplot(2,1,1),plot(w1,real(H))
subplot(2,1,2),plot(w1,imag(H))
figure(3)
subplot(2,1,1), plot(w1,real(Zin))
axis([0 2 0 2])
subplot(2, 1, 2),plot(w1,imag(Zin))
axisc[0 2 2 0.2]
Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 3.725290e-017.
Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 3.725290e-017.
报错? axisc[0 2 -10 0]
|
Error: Unbalanced or unexpected parenthesis or bracket.
Matlab中好像没有axisc这个函数吧,是不是应该是axis?
matlab 出错Error: Unbalanced or unexpected parenthesis or brac
matlab中输入下面语句显示Error:Unbalanced or unexpected parenthesis or
MATLAB错误:Unbalanced or misused parentheses or brackets,
关于matlab的Error:Unbalanced or misused parentheses or brackets
Error: Unexpected MATLAB operator. 在线等,谢谢
help or not英语作文在线急等...
Matlab错误求改.急
Pls translate the words or sentence parenthesis into Chinese
matlab出现错误,求大神!在线等
【急.在线等】英语作文:to help or not to help
【急】lingo程,为何提示错误missing right parenthesis
Cathy is not tall or short(改同义句)_____ _____ _____ 快啊.在线等 谢啦.