Effacer les filtres
Effacer les filtres

How to perform partial fraction expansion with symbolic variables

30 vues (au cours des 30 derniers jours)
twig27
twig27 le 9 Mar 2017
Commenté : Star Strider le 15 Sep 2023
Hello, I would like to perform PFE on a symbolic term, such as
if true
[r,p,k] = residue(1,[a b 1]);
end
The error I get is: "Conversion to logical from sym not possible". Is there no way to solve this? I need it as a simplification for inverse laplace transform. Thanks

Réponse acceptée

Star Strider
Star Strider le 9 Mar 2017
If you have R2015a or later, use the partfrac funciton. This is one of the better additions to the Symbolic Math Toolbox, since it allows ilaplace to transform equations it otherwise would not be able to.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by