I would use the ismember (link) function.
Try this:
target = [44, -30, 54]; Lidx = ismember(coords_17, target, 'rows'); row_number = find(Lidx)
row_number = 2
I would use the ismember (link) function.
Try this:
target = [44, -30, 54]; Lidx = ismember(coords_17, target, 'rows'); row_number = find(Lidx)
row_number = 2
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!