Delimiter separated string to array conversion | function: Array = str2array(String, Delimiter)
Function Description:
This function creates an array A from a delimiter-separated string S.
AUTHOR: Sugato Ray | Created on: 25-APR-2017 | ray.sugato[at]gmail.com
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
PLEASE ACKNOWLEDGE THE AUTHOR IF YOU USE THIS CODE
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
INPUT:
S = delimiter separated string
Delimiter = ',' is default. => This assumes a CSV String.
The user could choose any characher as the delimiter.
OUTPUT:
A = array
EXAMPLE:
S = array2str(A,Delimiter);
Cita come
Sugato (2026). Delimiter separated string to array conversion | function: Array = str2array(String, Delimiter) (https://it.mathworks.com/matlabcentral/fileexchange/64101-delimiter-separated-string-to-array-conversion-function-array-str2array-string-delimiter), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 | Updated Title. |
