MATLAB: The precision digit problem of vpa function

vpa

I got problems that vpa always ouput four decimal digits, and I would like to know how to solve this problem.

Best Answer

  • You have somehow changed your symbolic preferences. Run
    sympref("default")
    in the command window to change them to default.