![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/178980/image.png)
どうすれば,サンプリングタイムごとに初期条件を変更できますか?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Takashi Nohara
il 13 Feb 2018
Commentato: Takashi Nohara
il 15 Feb 2018
SimulinkでDiscreteStateSpaceを使用しています. ブロックパラメータの初期条件(Initial Condition)をサンプリングタイムごとに変更したいと考えています. また,初期条件は他のブロックから出力される信号をもとに作りたいと考えています. どうすれば,初期条件を時々刻々と変えることが出来るでしょうか
0 Commenti
Risposta accettata
Yoko
il 14 Feb 2018
既にご存知かと思いますが、DiscreteStateSpace ブロックでは初期条件を信号線として代入できないため、他のブロックで離散状態方程式を表現することで実現できるのでは、と思います。例えば、下図のように、Resettable Delay を使い、Trigger と 初期条件ポートを使う方法で、ご検討されては如何でしょうか。
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/178980/image.png)
4 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Discrete in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!