ismatrix1

版本 1.0.0.0 (1.7 KB) 作者: Carey Smith
Work-around for error in built-in function ismatrix (2010b). Only returns 1 for matrices
356.0 次下载
更新时间 2010/11/22

查看许可证

Built-in function ismatrix() (2010b) returns 1 for scalars, vectors, strings, and empty variables, as well as for matrices.

ismatrix1() corrects it to return 1 only for matrices.
It returns 0 for for scalars, vectors, strings, and empty variables.

ismatrix1_test gives examples of using ismatrix and ismatrix1() on scalars, vectors, strings, and matrices.

引用格式

Carey Smith (2024). ismatrix1 (https://www.mathworks.com/matlabcentral/fileexchange/29486-ismatrix1), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

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

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