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 (2025). isnumber (https://www.mathworks.com/matlabcentral/fileexchange/7898-isnumber), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R14
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB 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 |