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.

답변 (0개)

이 질문은 마감되었습니다.

질문:

2018년 2월 16일

마감:

2018년 2월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by