array2str(A,Delimit​er)

Version 1.0.0.0 (996 Bytes) by Sugato
This function creates a delimiter-separated list (string) of the rows in the array A.
39 Downloads
Updated 12 Aug 2017

View License

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

Cite As

Sugato (2026). array2str(A,Delimiter) (https://in.mathworks.com/matlabcentral/fileexchange/64100-array2str-a-delimiter), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Characters and Strings in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0

Updated description.