isnumber

Similar to isletter for numbers.
2,2K download
Aggiornato 24 giu 2005

Visualizza la licenza

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.

Cita come

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

Compatibilità della release di MATLAB
Creato con R14
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Characters and Strings in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0