MATLAB has no implied multiplication anywhere. You cannot use, for example, 26x and have that be understood. You need to put in explicit multiplication.
The main multiplication operator in MATLAB is the .* operator, which is element-by-element multiplication. MATLAB also has the * operator, which is primarily intended for algebraic matrix multiplication -- but the forms ARRAY*SCALAR and SCALAR*ARRAY are both understood instead of having to use ARRAY.*SCALAR or SCALAR.*ARRAY
MATLAB does not understand superscript ³ or ² or the like as indicating exponentiation. Instead, you need to use a power operator. The main power operator in MATLAB is the .^ operator, which is element-by-element power. MATLAB also has the ^ operator, which is primarily intended for algebraic matrix power.
Now, when you are doing symbolic work, the derivative operator is named diff
Putting these together:
Y = 2.*x.^4 - 5.*x.^3 + sin(x)
Y = 
fplot([Y, dY, d2Y], range)