find is working in strange way
Show older comments
Hello I am trying to use the find to find number in array greater than 0.6 , but the behavior is strange
cluster_map=zeros(21,14);
[r c]=find(field>=0.6)
the length of the r is 20
cluster_map(r,c)=2;
[rr cc]=find(cluster_map == 2);
the length of rr is 40 !!! how this happen. I have attached the field array. thanks in advance
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown 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!