different results using simlink and script

7 Ansichten (letzte 30 Tage)
Abdul
Abdul am 16 Jun. 2014
I would like to ask why I got different results (step response) using Simulink compare to script
although the system is simple unstable second order
Script:
Ksn=5000; Ki=158; m=3.14; Kx=1.58e6; Kp=10; Td=0.001;
s = tf('s');
G= Ksn*Ki/(m*s^2-Kx)
Gc=Kp*(Td*s+1);
Gl=G*Gc;
Gf=feedback(Gl,1);
step (Gf)

Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by