Largest number in Matlab
Ältere Kommentare anzeigen
hi,
what is the largest un-signed integer in Matlab for my client?
thank you.
Antworten (3)
Marcel Kreuzberg
am 24 Okt. 2019
0 Stimmen
max uint16 = 2^16-1
max int8 = 2^7-1
1 Kommentar
Yung Xi
am 24 Okt. 2019
Marcel Kreuzberg
am 24 Okt. 2019
0 Stimmen
65535
127
Steven Lord
am 24 Okt. 2019
When you say "largest integer" do you mean the largest value you can store in any of the integer data types or the largest integer value you can store in any of the built-in data types?
If you're using Symbolic Math Toolbox you can create numbers even larger than you can create in double precision.
two = sym(2)
q = two^10000
isAlways(q > realmax) % true
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!