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

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

Risposta accettata

Shoumei
Shoumei il 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 Commento
Wish
Wish il 21 Feb 2019
ありがとうございます!

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!