I need to create a cell array initializing each element in it to 3*1 null matrix.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
hrushikesh kyathari
am 13 Jul. 2019
Kommentiert: hrushikesh kyathari
am 14 Jul. 2019
I need to create a cell array initializing each element in it to 3*1 null matrix. How to proceed?
F=cell(a,2*n); is my cell and a,n are integers.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 13 Jul. 2019
Bearbeitet: Image Analyst
am 13 Jul. 2019
I don't know about null. How about nan?
for k = 1 : numel(F)
F(k) = {nan(3, 1)};
end
0 Kommentare
Siehe auch
Kategorien
Mehr zu Logical 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!