array2str(A,Delimiter)
Function Description:
This function creates a delimiter-separated list (string) of the rows in the array A.
AUTHOR: Sugato Ray | Created on: 25-APR-2017 | ray.sugato[at]gmail.com
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
PLEASE ACKNOWLEDGE THE AUTHOR IF YOU USE THIS CODE
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
INPUT:
A = array
Delimiter = ',' is default. => This creates a CSV String.
The user could choose any characher as the delimiter.
OUTPUT:
S = delimiter separated list (string) of the rows of A.
EXAMPLE:
S = array2str(A,Delimiter);
Citation pour cette source
Sugato (2026). array2str(A,Delimiter) (https://fr.mathworks.com/matlabcentral/fileexchange/64100-array2str-a-delimiter), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 | Updated description. |
