|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
figure(2),step(tf_cl),grid on % step response of the close-loop system
f3db_ol = bandwidth(tf_cl) % calculate the close-loop bandwidth
figure(3),bode(tf_cl),grid on % bode plot of the close-loop system
figure(4),bode(tf_ol),grid on % bode plot of the open-loop system
f0dB_ol = getGainCrossover(tf_ol,1) % calculate the unity gain frequency (crossover frequency) of the loop gain
figure(5), margin(tf_ol),grid on % calculate the phase margin and gain margin of the loop gain
figure(6),pzplot(tf_ol) % pole and zero plots of the loop gain
以上是常用的几种matlab函数。欢迎大家添加其他的,你个人喜欢的函数。请跟帖
|
|