Insert a function in Simulink
1 回表示 (過去 30 日間)
古いコメントを表示
Guilherme Lopes de Campos
2020 年 7 月 6 日
コメント済み: Guilherme Lopes de Campos
2020 年 7 月 7 日
Hi Community!!
I am modeling a differential equation in simulink, the set of block it is correctly, only need a help to consider a coefficient.
In my set of equation, there is a constant that depend o time, I did a curve fitting in MATLAB resulting the better adjust was a rational function (coefficient in function time),
Such as (C(t) = a/(b*t+c)),
I would like to ask, kindly, a way to insert this function to modify gain in my simulation.
Thank you very much for opportunity,
Hugs!
0 件のコメント
採用された回答
Fangjun Jiang
2020 年 7 月 6 日
The Clock block gives you time t for simulation. The rest is to use multiplication, sum and Devide.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Simulink Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!