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
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