Use logarithms to separate the frequency response into a sum of decibel terms, where w=0 to find the starting magnitude.
    5 ビュー (過去 30 日間)
  
       古いコメントを表示
    
Is there a function to find the gain?
                                          6
  H(s)=           ----------------------------------------
           s^5 + 22 s^4 + 164 s^3 + 458 s^2 + 315 s
code:
h=tf(num,den4)
[gm pm wcp wcg]=margin(h)
km=10*(gm/20)
wm=wcp
kp=0.6*km
ki=(kp*wm)/pi
kd=(kp*ki)/(4*wm)
h1=tf([1,0],[1])
g=(kp+(kd*h1)+(ki/h1))*h
bode(g) 
0 件のコメント
回答 (1 件)
  Rhea Chandy
    
 2021 年 5 月 7 日
        Hi, I understand you want to find the gain of your transfer function.
Consider using the Zero-pole-gain model , zpk, to convert your dynamic system models to zero-pole-gain form. You can access the gain data with zpkdata .
0 件のコメント
参考
カテゴリ
				Help Center および File Exchange で Dynamic System Models についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

