matrix2m
Versión 1.0.0 (1,68 KB) por
Jordi Palacin
Returns a matrix as a displayed text. Designed to copy/add a raw matrix in an m file.
MATRIX2M(A, digits) returns the matrix A as a displayed text.
Designed to copy/add a raw matrix in an m file.
The matrix A can have one, two or three dimensions
Usage example:
>>A = rand(1,4);
>>matrix2m(A); % returns the text description of A, as follows
Copy the following text into your m file:
A = [0.2583 0.4094 0.5951 0.2626];
Citar como
Jordi Palacin (2025). matrix2m (https://www.mathworks.com/matlabcentral/fileexchange/169573-matrix2m), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2024a
Compatible con cualquier versión desde R2015b
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
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 |