The following code is meant to output the derivative of a function but the coefficients are displayed as fractions even when I try to change the format to short or long.
syms xe = 2.718282; f = x * e^x^2; format shortdiff(f)
The output is a function whose coefficients are the ratios of large integers. How can their format be changed?
Best Answer