[Scilab-users] Matrix: mix string and float

sgougeon at free.fr sgougeon at free.fr
Fri Mar 4 15:52:41 CET 2016


Hello,

>De: "anna78"  4 Mars 2016 14:45:10
>.../...
>Is it possible to build a matrix with different element types?

This is called a cell array. 
In your case, since each column is homogeneous, you may as well store the 13 matrices simply in a list: M = list(M1,M2,..,M13).
The most appropriate container -- cell array or list -- depends on which kind of operations you wish to do afterwards with M's components.

HTH
Samuel Gougeon



More information about the users mailing list