Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Matlab online cannot save values smaller than 10^-20
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I am trying to use the Boltzman constant (k = 1.38e-23) in an equation, but I keep finding that I am unable to use a variable of this size when saving it. Through guess and check, it seems like matlab cannot save variables smaller than 10^-21 or so.
I am not trying to do any math on this variable yet, just save it, and it seems like an error is still occuring as you can see in the screenshot below (see variable k has a different value than the one I assigned).
![Capture.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/250340/Capture.png)
I have looked at the links below but they all seem to suggest that Matlab should be able to handle numbers of this size:
I am using Matlab online, could this be the issue? Or is there some hidden setting that changes the number of bits used?
1 Kommentar
Antworten (1)
Diese Frage ist geschlossen.
Communitys
Weitere Antworten in Distance Learning Community
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!