MATLAB: Unsual gradient from gradient

gradientunusual put

Hello, when I try and calculate the gradient I receive slope = gradient (fx)
slope =
(7167*x^2)/25000 - (3523*x)/5000 + 6389/10000
>> GRAD = vpa (slope, 10)
GRAD =
0.28668*x^2 - 0.7046*x + 0.6389
Will someone advised me how to interpret this please? GS.

Best Answer

The vpa function converts the fractions to their decimal equivalents (decimal fractions).