matrix array for loop
1 view (last 30 days)
Show older comments
for example i have a data ... x 2
for the row i have 2000 and col i have 2
i want to using length() to get both col and all the row together
for example for loop like this
given fuction[total] = cal (getboth)
for i : 1: length(getboth)
% but i want to find both or the col and row
% like something like this.
--getboth(i,1) this is for only colum 1 but i want to get both 2 colum, also i want to loop all the row too.
0 Comments
See Also
Categories
Find more on Multidimensional 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!