matrix2m

Returns a matrix as a displayed text. Designed to copy/add a raw matrix in an m file.
1 téléchargement
Mise à jour 12 juil. 2024

Afficher la licence

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];

Citation pour cette source

Jordi Palacin (2026). matrix2m (https://fr.mathworks.com/matlabcentral/fileexchange/169573-matrix2m), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2024a
Compatible avec les versions R2015b et ultérieures
Plateformes compatibles
Windows macOS Linux
Tags Ajouter des tags
Version Publié le Notes de version
1.0.0