How can i create cell array from matrix?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Volcano
am 21 Dez. 2022
Bearbeitet: Stephen23
am 21 Dez. 2022
Hi,
I am trying to convert my matrix to cell array which contains 2 rows and 1 column. Each cell should have x_set vector. How can i do this?
Thanks,
noP = 2;
x_set = [50 44 0.03 0.13];
x_set_mat = repmat(x_set,noP,1)
0 Kommentare
Akzeptierte Antwort
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!