isnumber

版本 1.0.0.0 (1.2 KB) 作者: Ben Barrowes
Similar to isletter for numbers.
2.2K 次下载
更新时间 2005/6/24

查看许可证

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.

引用格式

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

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Characters and Strings 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0