How to convert column to a cell's arrays?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dear all,
I want to know how I can convert columns of a 444*5 array (namely CF, attached to this question) to cell arrays; where the cell size is 1*444 (each of 444 rows contains a 1*5 double array).
Thank you
0 commentaires
Réponse acceptée
VBBV
le 5 Nov 2022
D = load('CF.mat')
D.CF
for k = 1:height(D.CF)
I{k,:} = D.CF(k,:);
end
I
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Types 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!