how can i calculate the derivative of a function like x*e^x(a*x^2+b*x+c), where a,b,c are constants(for example integers).
I tried syms x a b c and then
but then i get an error.
A function like that is easy enough without Matlab but i want the sum of y'''+y''-y'+y which needs a lot of calculation.
Thanks in advance.