steady state responce of LTI system
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Muhammad
le 10 Sep 2021
Réponse apportée : Star Strider
le 10 Sep 2021
clc
clear all
A=[-0.0295 0.0478 0 -9.81;-0.1777 -1.4411 120 0;0.0005 -0.033 -1.5345 0;0 0 1 0]
B=[0;-12.81;-6.59;0]
C=[0 0 0 1]
D=[0]
[num ,dem]=ss2tf(A,B,C,D)
[z,p,k]=tf2zp(num,dem)
t=linspace(0,100,100)
% i have this LTI system and i want to find out the steady state responce
% in magnitude and phase at w=0.1 rad/s
sys=tf(num,dem)
% is there is any commad that can do it in matlab as i am new in matlab so
0 commentaires
Réponse acceptée
Star Strider
le 10 Sep 2021
Try this —
A=[-0.0295 0.0478 0 -9.81;-0.1777 -1.4411 120 0;0.0005 -0.033 -1.5345 0;0 0 1 0]
B=[0;-12.81;-6.59;0]
C=[0 0 0 1]
D=[0]
sys = ss(A,B,C,D)
figure
stepplot(sys)
[y,tOut] = step(sys);
yFinal = y(end)
tFinal = tOut(end)
S = stepinfo(sys)
Experiment to get different results.
.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Time and Frequency Domain Analysis 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!