필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Best way to grid data

조회 수: 1 (최근 30일)
edward kabanyas
edward kabanyas 2019년 10월 12일
마감: MATLAB Answer Bot 2021년 8월 20일
I grid my data using the following simple procedure:
Latitude=data1(:,8);
Longitude=data1(:,9);
latedges=-0.7:0.1:0.3;
lonedges=99.8:0.1:100.8;
for i=1:numel(lonedges)-1,
for j=1:1:numel(latedges)-1,
T(i,j)=size(data1(Longitude>=lonedges(i) & Longitude<=lonedges(i+1) & Latitude>=latedges(j) & Latitude<=latedges(j+1),:),1);
end;
end
It works but it is very slow. Is there another option to do it?
Thank you for help.
Edward

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by