array2str(A,Delimit​er)

This function creates a delimiter-separated list (string) of the rows in the array A.

Vous suivez désormais cette soumission

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 .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

Updated description.