I want to divide p(x) by q(x) given that:
p(x)
q(x)
p(x)=-5x^4+3x^2-6x q(x)=x^2+1
I tried:
p=inline(\'-5*(x^4)+
Inline functions are just matlab expressions that it will evaluate. It has no idea whether they are polynomials or not.
You want this:
p = [-5 0 3 -6 0]; q = [2 0 1]; [quotient remainder] = deconv(p, q)
No need for Symbolic Math Toolbox here.