Finding overall gain and phase of a system
26 ビュー (過去 30 日間)
古いコメントを表示
In a simple way,here is what I intended to do :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/159014/image.png)
I have got 2 transfer functions G1 and G2. Gn is not a transfer function but has got a gain and a phase.
s=tf('s')
G1=1/s;
G2=5/s^3;
I want to find the overall gain and phase of the system at the frequency w=1. I can get the gain and phase of G1 and G2 at w=1 by:
[m1,p1]=bode(G1,1)
[m2,p2]=bode(G2,1)
m1=1,p1=-90
m2=5,p2=-270
Assuming my gain at w=1 for Gn is 5 and the phase is -100 degree. How can i find the overall gain and phase of the system at w=1. The closed loop positive feedback is
Cloop=G1/(1-G1*G2*GN)
Thanks
Yash
0 件のコメント
回答 (2 件)
Arkadiy Turevskiy
2014 年 3 月 19 日
編集済み: Arkadiy Turevskiy
2014 年 3 月 19 日
freq=1;
resp=5*exp(i*2*pi/360*100);
Gn=frd(resp,freq);
[m3,p3]=bode(Gn)
m3 =
5.0000
p3 =
100
Cloop=G1/(1-G1*G2*Gn);
[m4,p4]=bode(Cloop,1)
m4 =
0.0397
p4 =
-12.2403
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!