Borrar filtros
Borrar filtros

how can I use partfrac command?

10 visualizaciones (últimos 30 días)
Mohammad
Mohammad el 13 de Feb. de 2013
Comentada: Carlos Guerrero García el 2 de Dic. de 2022
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

Walter Roberson
Walter Roberson el 13 de Feb. de 2013
syms x
partfrac((8*(x^2) + 37*x + 32) / ((x + 1) * (x+2) * (x+4)))
  5 comentarios
Hariharan 2015
Hariharan 2015 el 19 de Oct. de 2017
Not able to find Partfracs for this function. transfer =
2 s + 20
----------------------------------
s^5 + 3 s^4 + 6 s^3 + 12 s^2 + 8 s
Please help.
Carlos Guerrero García
Carlos Guerrero García el 2 de Dic. de 2022
Hariharan....I suggest the following code:
syms s;
laplace(ilaplace((2*s+20)/(s^5+3*s^4+6*s^3+12*s^2+8*s)))
ans = 

Iniciar sesión para comentar.

Más respuestas (1)

Carlos Guerrero García
Carlos Guerrero García el 2 de Dic. de 2022
I suggest the following code:
syms s;
laplace(ilaplace((8*s^2+37*s+32)/((s+1)*(s+2)*(s+4))))
ans = 

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by