MATLAB: What is the range of datatype double in Matlab

scriptsimulink

If we assign any value to a variable , Matlab assigns its data type as double .
What is the max range of that variable ?

Best Answer

All numerical variables in MATLAB are stored as 32 bit floating point numbers. This corresponds to double precision on most computers. I think it can range from -1.7976931348623158e+308 to -2.2250738585072014e-308, or from 2.2250738585072014e-308 to 1.7976931348623158e+308.