ゲインを時間変化させる方法

伝達関数を時間変化させるために、微分方程式に変換し写真のようにブロック線図を組みました。
ゲインの部分にproductボックスを用いて、ワークスペースにある変数と時間を含む行列を入力しようとしています。
n1,d1,d2,d3には伝達関数のそれぞれの係数が、1列目に時間、2列目にデータの形で入っています。
シミュレーションを行うと、結果が出力されずに、エラーも出ません。
原因がわかりましたら教えていただけると幸いです。

 Accepted Answer

covao
covao on 4 Oct 2022
Edited: covao on 4 Oct 2022

2 votes

類似の質問に関する回答がこちらにあります。
伝達関数の分母に相当する式が減算となります。
また、Gotoブロックに接続されているFrom Workspaceが原因の可能性もあります。
From Workspaceを使った時系列データを出力する例は以下にあります。

More Answers (0)

Categories

Find more on Verification, Validation, and Test in Help Center and File Exchange

Products

Release

R2020a

Asked:

on 30 Jun 2022

Edited:

on 4 Oct 2022

Community Treasure Hunt

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

Start Hunting!