How to get real values

1 view (last 30 days)
Tran Hoa
Tran Hoa on 20 Aug 2018
Commented: Tran Hoa on 20 Aug 2018
Dear members ! When I run programs, the result appears 1.0e+11 *
0.0000 1.8372
0.0000 1.8322
Two values of first column are not zero but they do not present. How I can get real values instead of 1.0e11
Thank you

Accepted Answer

Walter Roberson
Walter Roberson on 20 Aug 2018
Give the command
format long g
And then display the data again

More Answers (1)

Tran Hoa
Tran Hoa on 20 Aug 2018
You mean format long g, with g = 0.0000 1.8372 0.0000 1.8322

Community Treasure Hunt

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

Start Hunting!