how can I use partfrac command?

4 次查看(过去 30 天)
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?

采纳的回答

Walter Roberson
Walter Roberson 2013-2-13
syms x
partfrac((8*(x^2) + 37*x + 32) / ((x + 1) * (x+2) * (x+4)))
  5 个评论
Hariharan 2015
Hariharan 2015 2017-10-19
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
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 = 

请先登录,再进行评论。

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by