Borrar filtros
Borrar filtros

How to perform partial fraction expansion with symbolic variables

30 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Star Strider
Star Strider el 9 de Mzo. de 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.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by