I have a matix like this. I don't want the exponential form. I just want the normal form. For eg 1875.5, 1747.5 etc not 1.7475e+03. Please give me some hint.

1 view (last 30 days)
1.0e+03 *
1.084500000000000 1.687400000000000 1.660100000000000
0.232000000000000 1.346400000000000 1.148600000000000
-0.486000000000000 1.059200000000000 0.717800000000000

Answers (1)

Jan
Jan on 16 Nov 2014
Look at the format command:
doc format
Then e.g. this displays the numbers as wanted:
format long g

Categories

Find more on Numeric Types in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!