離散化モデルの周波数​応答(ボード線図)を​表示する方法

27 views (last 30 days)
Wish
Wish on 20 Feb 2019
Commented: Wish on 21 Feb 2019
MatLab Simulinkでシンプルな離散化モデルを作成し、
その周波数応答のボード線図を表示する方法を教えてください。

Accepted Answer

Shoumei
Shoumei on 21 Feb 2019
Simulinkモデルの特性を取得してボード線図を表示ということでよろしいでしょうか?
まず、Simulinkモデルを図のようにInport/Outportを接続して作成します。
sys.jpg
次にMATLABで以下の様にコードを実行します。
Ts = 1/1000 % Tsはサンプル時間
[num,den] = dlinmod(gcs, Ts) % gcsでカレントのシステムを取得
sys = tf(num,den, Ts)
bode(sys) % ボード線図表示
bode.jpg
各関数の機能はヘルプでご確認ください。
  1 Comment
Wish
Wish on 21 Feb 2019
ありがとうございます!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!