Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Matrix Error when typed in
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Muhammad Norman Hakeem bin Ramlee
am 10 Mai 2020
Geschlossen: MATLAB Answer Bot
am 20 Aug. 2021
Hi my script is this
n=[1.5,3.4;91250,73000]
but it comes out as
n =
1.0e+04 *
0.0001 0.0003
9.1250 7.3000
the 1.0e+04 * automatically comes out of nowhere and disturbs my data all the time. Anyone knows why?
0 Kommentare
Antworten (1)
James Tursa
am 10 Mai 2020
Bearbeitet: James Tursa
am 10 Mai 2020
This is just a display issue. All values are what you entered (or, at least the closest IEEE double representation). That 1.0e+04 is just a factor that is applied to all of the displayed values. To see a different display of these same numbers you could choose one of the other formats. E.g., type this at the command line:
format longg
0 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!