feval(symengine, 'partfrac' command error

5 views (last 30 days)
thar
thar on 18 Feb 2014
Commented: yassine on 16 Mar 2017
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.
  1 Comment
yassine
yassine on 16 Mar 2017
(x/455 + 2/65)/(x^2 + 14*x + 65) - (x/455 - 2/65)/(x^2 - 14*x + 65)
multplication * omise 14*x

Sign in to comment.

Accepted Answer

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

More Answers (0)

Categories

Find more on Function Creation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!