Effacer les filtres
Effacer les filtres

inverce laplace and ploting data

3 vues (au cours des 30 derniers jours)
ali akyuz
ali akyuz le 16 Mai 2020
Commenté : Star Strider le 1 Juin 2020
I need to verify this figure by obtaining poles and c(t) from G(s) and plotting unit step response for each case. But I couldn't go to the inverse laplace. where am i doing wrong ?
s = zpk('s')
Gs=(9)/(s^2+9*s+9);
pole(Gs)
zero(Gs)
Ct=ilaplace(Gs)
figure
plot(Ct)
  2 commentaires
Rena Berman
Rena Berman le 1 Juin 2020
(Answers Dev) Restored edit
Star Strider
Star Strider le 1 Juin 2020
Thank you.

Connectez-vous pour commenter.

Réponses (1)

Star Strider
Star Strider le 16 Mai 2020
I believe that what you actually want is:
s = zpk('s')
Gs=(9)/(s^2+9*s+9);
pole(Gs)
zero(Gs)
% Ct=ilaplace(Gs)
figure
step(Gs)
since under other circumstances (specifically using the Symbolic Math Toolbox), plotting ilaplace of a symbolic transfer function (using fplot) would return the impulse response. To plot a symbolic step response, you would divide ‘Gs’ by ‘s’, then use fplot.

Community Treasure Hunt

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

Start Hunting!

Translated by