searching for the particular point value from the two different data sets

3 views (last 30 days)
I am trying to search and extract the particular point values (at some coordinates) from two different datasets but the problem is the index numbers in both datasets are different. I am comparing the data for the particular points so it might be same for the same coordinates but not for the same index. How can I compare them?

Answers (1)

the cyclist
the cyclist on 2 Feb 2023
Edited: the cyclist on 2 Feb 2023
Without more detail about how your dataset is structured (e.g. do you have two vectors, or arrays, or tables?), it is not possible to give specific suggestions.
Generically, you might find the ismember and intersect functions useful.

Categories

Find more on Resizing and Reshaping Matrices 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!