searching for values in a text file

hi i have generated 2 arrays for latitude and longitude, now i want to search through a text file and when a entry with a latitude AND longitude that matches those in my list i would like the program to return those rows. the text file has latitude in column 1, longitude in column 2 and shear anomaly in column 3,i am after the shear anomaly value for the entries with lat and long matching those in the arrays i have made

3 Kommentare

Azzi Abdelmalek
Azzi Abdelmalek am 21 Okt. 2013
Post a sample of your data in your txt file
Walter Roberson
Walter Roberson am 21 Okt. 2013
Also, are the matches going to be exact or should there be a match to the "closest" element ?
Muhammad Ahsan Khan
Muhammad Ahsan Khan am 25 Apr. 2022
Why is there no answer to this issue? I have the same problem. Any help?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Live Scripts and Functions finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 21 Okt. 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by