MATLAB: Feval(symengine, ‘partfrac’ command error

MATLABpartial fractionpatrifac

how i find the partial fraction of 4/ (((x – 7)^2 + 4^2 )* (x^2+14x + 65))
I used the following command but it gave a error.
feval(symengine, 'partfrac', 4/ (((x - 7)^2 + 4^2 )* (x^2+14x + 65)))
feval(symengine, 'partfrac', 4/ (((x - 7)^2 + 4^2 )* (x^2+14x + 65)))
|
Error: Unexpected MATLAB expression.

Best Answer

You forgot the * between 14 and x
feval(symengine, 'partfrac', 4/ (((x - 7)^2 + 4^2 )* (x^2+14*x + 65)))