Value type
Create numeric variables
| - | - | - |
|---|---|---|
| double | double precision array | |
| single | single precision array | |
| int8 | 8-bit signed integer array | |
| int16 | 16-bit signed integer array | |
| int32 | 32-bit signed integer array | |
| int64 | 64-bit signed integer array | |
| uint8 | Array of 8-bit unsigned integers | |
| uint16 | 16-bit unsigned integer array | |
| uint32 | 32-bit unsigned integer array | |
| uint64 | 64-bit unsigned integer array | |
| Convert between numeric types | ||
| - | - | - |
| --- | --- | --- |
| cast | Convert variables to different data types | |
| typecast | Convert data types without changing the underlying data | |
| query type and value | ||
| - | - | - |
| --- | --- | --- |
| allfinite | Determine if all array elements are finite | |
| anynan | Determine if any array element is NaN | |
| isinteger | Determine whether the input is an integer array | |
| isfloat | Determine whether the input is a floating-point array | |
| isnumeric | Determine whether the input is a numeric array | |
| isreal | Determine whether the array uses complex storage | |
| isfinite | Determine which array elements are finite | |
| isinf | Determine which array elements are infinite | |
| isnan | Determine which array elements are NaN | |
| Value range | ||
| - | - | - |
| --- | --- | --- |
| eps | Floating point relative precision | |
| flintmax | The largest consecutive integer in floating point format | |
| Inf | Create an array with all values ââInf |
|
| intmax | The maximum value of a specific integer type | |
| intmin | The minimum value of a specific integer type | |
| NaN | Create an array where all values ââare NaN |
|
| realmax | The largest positive floating point number | |
| realmin | Minimum standard floating point number |
Comments





