how to convert cell to matrix
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Cem SARIKAYA
le 28 Déc 2018
Commenté : madhan ravi
le 29 Déc 2018
i have 70103x1 cell array but i want to convert this to matrix i want every array open one row. briefly i want to convert this for example 70103x90 how can i do that?
1 commentaire
Akira Agata
le 28 Déc 2018
Does each cell contain 1x90 array? If so, cell2mat function works, as:
% 2x1 Sample cell array
C = {rand(1,90),rand(1,90)};
% cell2mat will convert it into 2x90 array
X = cell2mat(C);
Réponse acceptée
madhan ravi
le 29 Déc 2018
[yourcellarray{:}]
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!