ismatrix1
Versión 1.0.0.0 (1,65 KB) por
Carey Smith
Work-around for error in built-in function ismatrix (2010b).
Only returns 1 for matrices
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.
Citar como
Carey Smith (2024). ismatrix1 (https://www.mathworks.com/matlabcentral/fileexchange/29486-ismatrix1), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2010b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Multidimensional Arrays en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |