how to change matlab answers type?

4 views (last 30 days)
i have a problem with matlab answers always shows answers like this
(200*6151^(1/2))/3 - 14200/3
how can i fix that?i mean is there a setting or code for it?i tried double but it also show it like 4.952207476509866e+02 i want the answer like this 495.22

Accepted Answer

Image Analyst
Image Analyst on 29 Dec 2021
format longG
% or
format shortG

More Answers (1)

KSSV on 29 Dec 2021
Edited: KSSV on 29 Dec 2021

Sign in to comment.




Community Treasure Hunt

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

Start Hunting!