Simple question about for loop
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi I have cell data that consist of different row size like below picture. Let's assume this name of this cell is A.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/994165/image.png)
And I want to make simple for loop
B= zeros(length(A), ???);
for i = 1: length(A)
b= function{i};
B(i,:)=b;
end
Each row has different size.
I wonder what should i write in ???.
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices 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!