How to stop using VPA

So in all my MATLAB code I have to use vpa(value) to get MATLAB to show me the decimal answer, then I have to specify how many place holders. What I want is MATLAB to store them such that it does not introduce significant rounding error but it will display the answers to the operations without 20 decimal places. I understand MATLAB is doing a symbolic representation but I want it to no longer do that when displaying answers.

Answers (0)

This question is closed.

Asked:

on 16 Feb 2018

Closed:

on 16 Feb 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!