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

조회 수: 14 (최근 30일)
Wish
Wish 2019년 2월 20일
댓글: Wish 2019년 2월 21일
MatLab Simulinkでシンプルな離散化モデルを作成し、
その周波数応答のボード線図を表示する方法を教えてください。

채택된 답변

Shoumei
Shoumei 2019년 2월 21일
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
Wish
Wish 2019년 2월 21일
ありがとうございます!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!