how can I use partfrac command?
Mostrar comentarios más antiguos
Hi
i want to find the partial fraction expansion for the function
f(x) = (8x^2+37x+32)/((x+1)(x+2)(x+4))
I want to find it using partfrac command
when I try partfrac((8*(x^2) + 37*x + 32) / ((x + 1) * (x+2) * (x+4)))
I get an error: Undefined function or variable 'x'.
How can I do it?
Respuesta aceptada
Más respuestas (1)
I suggest the following code:
syms s;
laplace(ilaplace((8*s^2+37*s+32)/((s+1)*(s+2)*(s+4))))
Categorías
Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!