what is intmax in matlab?
v = intmax( type ) returns the largest value of the specified integer type. When you convert a value that is larger than intmax(type) into the integer type type , the value becomes intmax(type) .