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

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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Live Scripts and Functions에 대해 자세히 알아보기

질문:

2013년 10월 21일

댓글:

2022년 4월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by