What does this imply? what does the asterisk sign mean? I don't understand what 1.0e+13* signify. Please explain

 Akzeptierte Antwort

Chunru
Chunru am 1 Sep. 2021
Bearbeitet: Chunru am 1 Sep. 2021

1 Stimme

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 Kommentar

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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Entering Commands finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by