How to convert column to a cell's arrays?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Akzeptierte Antwort
VBBV
am 5 Nov. 2022
D = load('CF.mat')
D.CF
for k = 1:height(D.CF)
I{k,:} = D.CF(k,:);
end
I
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Types finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!