Matlab command line output

1 view (last 30 days)
Prajakta Borse
Prajakta Borse on 1 Sep 2021
Commented: Walter Roberson on 1 Sep 2021
What does this imply? what does the asterisk sign mean? I don't understand what 1.0e+13* signify. Please explain

Accepted Answer

Chunru
Chunru on 1 Sep 2021
Edited: Chunru on 1 Sep 2021
It means the scale factor for the following numbers. You can consider * as multiplication. For example.
a = randn(1,4)*1e6
a = 1×4
1.0e+06 * -0.6917 0.2892 -1.7645 0.2282
Here a is 1.0e+06 * [-0.6917, 0.2892, ...]
  1 Comment
Walter Roberson
Walter Roberson on 1 Sep 2021
I recommend that you use
format long g
in order to see the real output.
I also recommend that you change your MATLAB preferences to use long g for the command window and for the variable browser.

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!