I need to create a cell array initializing each element in it to 3*1 null matrix.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
hrushikesh kyathari
il 13 Lug 2019
Commentato: hrushikesh kyathari
il 14 Lug 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 Commenti
Risposta accettata
Più risposte (1)
Image Analyst
il 13 Lug 2019
Modificato: Image Analyst
il 13 Lug 2019
I don't know about null. How about nan?
for k = 1 : numel(F)
F(k) = {nan(3, 1)};
end
0 Commenti
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!