Hi, How to increase the line size by using a command not manually because I have many lines can't adjust each one individually. Thanks
3 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192390/image.png)
for Kd=0.2:0.01:1
%for Kq=0.2:0.01:0.9
Lf=3.3e-3
Cf=100e-6
Rl=0.2
Ll=0.05
w=100*pi
%Kd=0.4
Kq=0.35
Kpdi=28
Kidi=6
Kpqi=28
Kiqi=0.2
Kpdv=5.5
Kidv=10
Kpqv=10
Kiqv=0
H=0.5
a0701=((-(w^2)*Lf*Cf)-(Kpdi*Kpdv)+(Kidi*Cf)-1)/Cf
a0702=(w*Kpdi*H)-(w*Kpdi*Kpdv*Kd)-(2*w*Kpdi)
a0703=(Kpdi+(Kpdi*Kpdv*Kd)+((w^2)*Kpdi*Lf*Cf)-(Kpdi*Kidv*Lf)-(Kpdi*H))/Lf
a0704=(2*w)-(w*Kpdi*Kpdv)
a0705=((Kpdi*Kpdv)-1)/Cf
a0707=((Kpdi*H)-(Kpdi*Kpdv*Kd)-Kpdi)/Lf
a0801=-(w*Kpqi*H)+(w*Kpqi*Kpqv*Kq)+(2*w*Kpqi)
a0802=(((w^2)*Lf*Cf)-(Kpqi*Kpqv)-(Kiqi*Cf))/Cf
a0803=(w*Kpqi*Kpqv)-w
a0804=(Kpqi+(Kpqi*Kpqv*Kq)+((w^2)*Kpqi*Lf*Cf)-(Kpqi*Kiqv*Lf)-(Kpqi*H))/Lf
a0806=(Kpqi*Kpqv)/Cf
a0808=((Kpqi*H)-(Kpqi*Kpqv*Kq)-Kpqi)/Lf
a0902=(w*H)-(w*Kpdv*Kd)-w
a0903=((Kpdv*Kd)+((w^2)*Lf*Cf)-(Lf*Kidv)-H)/Lf
a0907=(H-(Kpdv*Kd))/Lf
a1001=-(w*H)+(w*Kpqv*Kq)+w
a1004=((Kpqv*Kq)+((w^2)*Lf*Cf)-(Lf*Kiqv)-H)/Lf
a1008=(H-(Kpqv*Kq))/Lf
A1=[0 w -1/Lf 0 0 0 1/Lf 0 0 0 0 0]
A2=[-w 0 0 -1/Lf 0 0 0 1/Lf 0 0 0 0]
A3=[1/Cf 0 0 w -1/Cf 0 0 0 0 0 0 0]
A4=[0 1/Cf -w 0 0 -1/Cf 0 0 0 0 0 0]
A5=[0 0 1/Ll 0 -Rl/Ll w 0 0 0 0 0 0]
A6=[0 0 0 1/Ll -w -Rl/Ll 0 0 0 0 0 0]
A7=[a0701 a0702 a0703 a0704 a0705 w*Kpdi a0707 -w Kidi 0 (Kpdi*Kidv) 0]
A8=[a0801 a0802 a0803 a0804 -(w*Kpqi) a0806 w a0808 0 Kiqi 0 (Kpqi*Kiqv)]
A9=[-(Kpdv/Cf) a0902 a0903 -(w*Kpdv) Kpdv/Cf w a0907 0 0 0 Kidv 0]
A10=[a1001 -(Kpqv/Cf) (w*Kpqv) a1004 -w Kpqv/Cf 0 a1008 0 0 0 Kiqv]
A11=[0 -(Kd*w) Kd/Lf 0 0 0 -(Kd/Lf) 0 0 0 0 0]
A12=[Kq*w 0 0 Kq/Lf 0 0 0 -(Kq/Lf) 0 0 0 0]
A=[A1;A2;A3;A4;A5;A6;A7;A8;A9;A10;A11;A12];
D=(eig(A))/100;
GH=zpk([],D,1);
pzmap(GH);
hold on
end
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Stability Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!