- Manuel Scilab
- Fonctions Elémentaires
- Mathématiques discrètes
- Virgule flottante
- Représentation d'entier
- Trigonométrie
- abs
- amell
- and
- &
- cumprod
- cumsum
- delip
- diag
- exp
- eye
- gsort
- imag
- intersect
- inttrap
- isdef
- isreal
- kron
- lex_sort
- linspace
- log
- log10
- log2
- logm
- logspace
- lstsize
- max
- meshgrid
- min
- modulo
- norm
- ones
- or
- |
- pen2ea
- prod
- rand
- real
- resize_matrix
- sign
- signm
- size
- solve
- sqrt
- sqrtm
- squarewave
- sum
- syslin
- toeplitz
- trianfml
- tril
- trisolve
- triu
- union
- unique
- zeros
- binomial
- bitand
- bitor
- bloc2exp
- bloc2ss
- cat
- cell2mat
- cellstr
- char
- diff
- dsearch
- flipdim
- imult
- ind2sub
- isempty
- isequal
- isequalbitwise
- isvector
- log1p
- ndgrid
- ndims
- nextpow2
- permute
- pertrans
- setdiff
- ssrand
- sub2ind
- sysconv
- sysdiag
- trfmod
- typeof
- vectorfind
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
cellstr
convert strings vector (or strings matrix) into a cell of strings
Calling Sequence
c=cellstr(s)
Arguments
- s
strings vector, or strings matrix
Description
returns a cell array of strings
If
s
is a line vector of strings thencellstr(s)
returns a(one-by-one)
cell which contains one component (the concatenation of all columns components ofs )
If
s
is a column vector of strings thencellstr(s)
convert s into a cell which have the same size :(size(s,1)-by-one)
cell of stringsIf
s
is a matrix of strings then for each rowi
ofs
,cellstr(s)
concatenates all the components of the ith rows of the matrixs
(i.e s(i,1), s(i,2), s(i,3),...) and returns a (size(s,1)-by-one)
cell of strings
Examples
cellstr("foo") cellstr(["sci","lab"]) cellstr(["abc","def",'gh';"i","j","klm"])
<< cell2mat | Fonctions Elémentaires | char >> |