LaPlace transform, magnitude, poles.
12 次查看(过去 30 天)
显示 更早的评论
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/965880/image.png)
0 个评论
采纳的回答
Star Strider
2022-4-16
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 = partfrac(F)
f(t) = ilaplace(F)
f = vpa(f, 3)
.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!