Finding rows and columns of a data set
Show older comments
My problem is this. I have two 2d matrices, one contains latitude coordinates, the other contains longitude coordinates so that the same elements in each matrix represent a coordinate on a map, for example (18,-161). How do I find the location of the element (ie what row and what column) where I can find any specific coordinate I am looking for? If I wanted to find the exact row and column where 18 and -161 match up, how would I do that? I should also note that the rows of the latitude matrix and the columns of the longitude matrix are not homogenous, that is, they do not all have the same values.
Accepted Answer
More Answers (0)
Categories
Find more on Geographic Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!