how I do data gridding ?

조회 수: 1 (최근 30일)
Lilya
Lilya 2017년 9월 2일
편집: Lilya 2017년 9월 2일
hi all,
I need your kind help in the data implementation, means that there are two vectors ( latitude and longitude) those I need to grid it (attached), which has specific values. the previous built matrix should contain my observations. I mean I want to import the observations in the (lat. & lon.) big matrix to correspond the observations with the exact lat. and lon.; therefore, it should contains some NaNs in the non-corresponding data. I know that it should meshgrid the data the grid it, but I cannot do it I just extracted the data.
thank you so much for your help. I really appreciate it.

답변 (1개)

Kaushik Lakshminarasimhan
Kaushik Lakshminarasimhan 2017년 9월 2일
Did you try this?
load('grid.mat');
[LAT,LON] = meshgrid(lat,lon);
  댓글 수: 1
Lilya
Lilya 2017년 9월 2일
thanks Kaushik. and how to import my data set into the meshgridding matrix?

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

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by