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

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

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Verification, Validation, and Test in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!