Effacer les filtres
Effacer les filtres

LaPlace transform, magnitude, poles.

7 vues (au cours des 30 derniers jours)
Kyle Langford
Kyle Langford le 16 Avr 2022
Commenté : Star Strider le 16 Avr 2022
I need some hep with this last step.
I am following a guide to try and info out of a laplace transform.
This is the code I have, and my attempt to get the highlighted solution.
This has everything I need I am just not sure how to get the final output. For example I don't know how MATLAB will always order the values. Like if -0.25 should be assigned to s or s^2.

Réponse acceptée

Star Strider
Star Strider le 16 Avr 2022
I don’t recognise ‘poly2str’ and the only MATLAB function I can find that would be similar is poly2sym.
Taking a shortcut, try this —
syms F(s) s t
F(s) = (s^2+1) / (s^2*(s+2))
F(s) = 
F = partfrac(F)
F(s) = 
f(t) = ilaplace(F)
f(t) = 
f = vpa(f, 3)
f(t) = 
The partfrac function was introduced in R2015a.
.
  2 commentaires
Kyle Langford
Kyle Langford le 16 Avr 2022
I like this a lot more than what I was doing. Thank you so much!
Star Strider
Star Strider le 16 Avr 2022
My pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by