Scilab 5.5.1
      
      - Aide de Scilab
- Fonctions Elémentaires
- Nombres complexes
- Mathématiques discrètes
- Matrices élémentaires
- Exponentielle
- Virgule flottante
- Bases de numération
- Manipulation de matrices
- Opérations matricielles
- Chercher et trier
- Opérations sur les ensembles
- Traitement du signal
- Calcul symbolique
- Trigonométrie
- Bitwise operations
- and
- &
- lstsize
- modulo
- or
- |
- sign
- size
- IsAScalar
- cat
- cell2mat
- cellstr
- iscolumn
- isempty
- isequal
- ismatrix
- isrow
- isscalar
- issquare
- isvector
- ndims
- nthroot
- num2cell
- unwrap
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
cell2mat
converts a cell array into a matrix
Calling Sequence
x=cell2mat(c)
Arguments
- c
- cell array, the components of - cmust have the same type and can be scalars or matrices
- x
- matrix 
Description
cell2mat(c) returns a matrix which is the concatenation of all components of the
            cell array c.
All components of c must have the same data type (strings or
            doubles or integers or booleans). For each row i
            of c, cell2mat
            of c, cell2mat
            concatenates all the components of the ith row of
            the cell array c.
|  | Note that if the components of the cell array input  care strings thencell2mat(c)returns a column
                vector of strings concatenation. | 
Examples
c=makecell([2,2],[1 2 3; 6 7 8],[4 5;9 10],[11 12;16 17],[14 13 15;18 19 20]) cell2mat(c)
| Report an issue | ||
| << cat | Fonctions Elémentaires | cellstr >> |