isnumber

Similar to isletter for numbers.
2,2K téléchargements
Mise à jour 24 juin 2005

Afficher la licence

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.

Citation pour cette source

Ben Barrowes (2024). isnumber (https://www.mathworks.com/matlabcentral/fileexchange/7898-isnumber), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R14
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Characters and Strings dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0