Integration in time knowing the initial condition, from simulink to matlab

1 vue (au cours des 30 derniers jours)
Francesco Porretta
Francesco Porretta le 1 Sep 2021
Hi all,
I'm trying to rewrite a simulink model in only matlab code (script). How can I rewrite the simulink block 1/s on matlab script, in order to give me the same results?
I mean: on simulink, I have the 1D "x_dot" line that enter in "1/s" block, giving out "x" line. How can I write the same on matlab script, knowing the initial condition?
thanks!

Réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by