I need to create a cell array initializing each element in it to 3*1 null matrix.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hrushikesh kyathari
le 13 Juil 2019
Commenté : hrushikesh kyathari
le 14 Juil 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 commentaires
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 13 Juil 2019
Modifié(e) : Image Analyst
le 13 Juil 2019
I don't know about null. How about nan?
for k = 1 : numel(F)
F(k) = {nan(3, 1)};
end
0 commentaires
Voir également
Catégories
En savoir plus sur Logical 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!