how can i find the min of a multidimensional array
1 view (last 30 days)
Show older comments
Alejandro Garcia
on 19 Oct 2014
Commented: Alejandro Garcia
on 19 Oct 2014
i have the following code:
Family(1:4)= struct('relation',{'father','sister','brother','me'},'name',{'Rogelio Garcia Garcia','Leticia Garcia Aguilar','Rogelio Garcia Aguilar','Alejandro Garcia Aguilar'},'state',{'widow','married','married','single'},'age',{60,33,31,27});
A=struct2cell(Family);
array=reshape(A,[2,2,4])
and i wish to find the min value of the ages but i have several problems to find it because i got a error message when i use min(array) thanks
0 Comments
More Answers (0)
See Also
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!