isnumber

Similar to isletter for numbers.

You are now following this Submission

Similar to isletter. Returns a vector the same length as the input string but with a true for each character that is a number and false otherwise.

The test here is for the ascii character set, so char(48:57) qualifies.

Cite As

Ben Barrowes (2026). isnumber (https://www.mathworks.com/matlabcentral/fileexchange/7898-isnumber), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0