how can I use partfrac command?
15 次查看(过去 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?
0 个评论
采纳的回答
Walter Roberson
2013-2-13
syms x
partfrac((8*(x^2) + 37*x + 32) / ((x + 1) * (x+2) * (x+4)))
5 个评论
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
2022-12-2
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)))
更多回答(1 个)
Carlos Guerrero García
2022-12-2
I suggest the following code:
syms s;
laplace(ilaplace((8*s^2+37*s+32)/((s+1)*(s+2)*(s+4))))
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!