MATLAB Function Reference Previous page   Next Page

Smallest possible value of specified integer type



v = intmin is the smallest value that can be represented in MATLAB with a 32-bit integer. Any value smaller than the value returned by intmin saturates to the intmin value when cast to a 32-bit integer.

v = intmin('classname') is the smallest positive value in the integer class classname. Valid values for the string classname are


intmin('int32') is the same as intmin with no arguments.


Find the minimum value for a 64-bit signed integer:

Convert this value to a 32-bit signed integer:

Compare the result with the default value returned by intmin:

See Also

intmax, realmin, realmax, int8, uint8, isa, class

Previous page  intmax intwarning Next page

© 1994-2005 The MathWorks, Inc.