MATLAB^{®} provides these functions for working with numeric
classes:

**Integer Functions**

Function | Description |
---|---|

| Convert to signed 1-, 2-, 4-, or 8-byte integer. |

| Convert to unsigned 1-, 2-, 4-, or 8-byte integer. |

Round towards plus infinity to nearest integer | |

Return the data type of an object. | |

Round towards zero to nearest integer | |

Round towards minus infinity to nearest integer | |

Determine if input value has the specified data type. | |

Determine if input value is an integer array. | |

Determine if input value is a numeric array. | |

Round towards the nearest integer |

**Floating-Point Functions**

Function | Description |
---|---|

Convert to double precision. | |

Convert to single precision. | |

Return the data type of an object. | |

Determine if input value has the specified data type. | |

Determine if input value is a floating-point array. | |

Determine if input value is a numeric array. | |

Return the floating-point relative accuracy. This value is the tolerance MATLAB uses in its calculations. | |

Return the largest floating-point number your computer can represent. | |

Return the smallest floating-point number your computer can represent. |

**Class Identification Functions**

Function | Description |
---|---|

Return data type (or class). | |

Determine if input value is of the specified data type. | |

Determine if input value is a floating-point array. | |

Determine if input value is an integer array. | |

Determine if input value is a numeric array. | |

Determine if input value is real. | |

Display the data type of input. |

Was this topic helpful?