How to do this in Simulink?

2 visualizzazioni (ultimi 30 giorni)
AVIJIT NEMO
AVIJIT NEMO il 9 Nov 2020
Risposto: Jesús Zambrano il 10 Nov 2020
  1 Commento
Mathieu NOE
Mathieu NOE il 10 Nov 2020
well
open simulink
create a new model and import some first order continuous time blocs and fill the arguments with the appropriate constants
then add a source signal and run the solver

Accedi per commentare.

Risposte (1)

Jesús Zambrano
Jesús Zambrano il 10 Nov 2020
Hi Avijit,
In the command window, set values to the parameters Ka, Ta, Tw.
Then, create the transfer functions by writing:
sys1 = tf(Ka, [Ta 1]);
sys2 = tf([Tw 0], [Tw 1]);
Then, plot the response of these functions to a unit step input, by writing:
step(sys1);
step(sys2);
Hope it helps!

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by