I have i have a .dat file ... which consists of 213120 rows and 3 columns.... in this file 1st column is longitude, 2nd column is latitude that and 3rd collumn is data, Please find attacment below.

조회 수: 1 (최근 30일)
I want data between longitude 86 to 94 and latitude 21 to 29.

채택된 답변

Andrei Bobrov
Andrei Bobrov 2016년 6월 1일
out = p(p(:,1) >= 86 & p(:,1) <= 94 & p(:,2) >= 21 & p(:,2) <= 29,:);

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by