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

28 vues (au cours des 30 derniers jours)
Wish
Wish le 20 Fév 2019
Commenté : Wish le 21 Fév 2019
MatLab Simulinkでシンプルな離散化モデルを作成し、
その周波数応答のボード線図を表示する方法を教えてください。

Réponse acceptée

Shoumei
Shoumei le 21 Fév 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 commentaire
Wish
Wish le 21 Fév 2019
ありがとうございます!

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!