Azzera filtri
Azzera filtri

How to perform partial fraction expansion with symbolic variables

30 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Star Strider
Star Strider il 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.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by