How do I create an array of scalars?
Afficher commentaires plus anciens
I want to make a list of the major and minor axis of several different functions. I made a loop loop that runs images from 1:10. Given, I can already get the reading of each axis, what is wrote with this code?
for j = 1:10,
...
Major_I(j,1) = regionprops(CC,'MajorAxisLength')
Minor_I(j,1) = regionprops(CC,'MinorAxisLength')
end
This loop only returns: Major_I =
10x1 struct array with fields: MajorAxisLength
Minor_I =
10x1 struct array with fields: MinorAxisLength
1 commentaire
Cynth
le 30 Août 2011
Réponse acceptée
Plus de réponses (1)
Cynth
le 30 Août 2011
0 votes
Catégories
En savoir plus sur Image Arithmetic dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!