Grid to scatter data conversion

조회 수: 13 (최근 30일)
NS
NS 2017년 8월 16일
댓글: KSSV 2017년 8월 17일
Hi,
I have two data sets which are not in same size/structure, one is from the observation (lat, lon, vel) and another is from the model (lat, lon, vel). Observed structure is 3101*3 and model structure are 22684*3. I interpolated model data into observed data to make the both data set in same size. The interpolated model data is in grid format but observation data is scatter format. How can I convert the interpolated model data from grid to scatter format with the exact size of observed data?
My final goal is to do the chi-square test for the data sets. I also want to calculate the Pearson Residuals between the both data sets.
Thanks

채택된 답변

KSSV
KSSV 2017년 8월 16일
doc griddata
  댓글 수: 2
NS
NS 2017년 8월 17일
I think you couldn't get my question. I have observed data which have 3101 velocity data point on specific lat, lon but my model have 22684 data points on a lat,lon which is bigger than observed area. I interpolate model data using interp2 to find the velocity value same with observed. Now the interpolation results of model is in grid format but I want it in scatter format. Thanks
KSSV
KSSV 2017년 8월 17일
What is the necessity to go to scatter format? Read about delaunay. http://in.mathworks.com/help/matlab/ref/delaunay.html

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Descriptive Statistics and Visualization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by