How to do spatial correlation

조회 수: 15 (최근 30일)
Ahmad Bayhaqi
Ahmad Bayhaqi 2021년 5월 7일
댓글: KSSV 2021년 5월 7일
Hi All,
I have two monthly data set but with different dimension.
A=20 x 25 x 24 > longitude x latitude x temperature value (2 years)
B= 1 x 24 > temperature value (2 years).
I want to do correlation between dimension 3 of A to B in all grids.
Is there a way to do it?
any help is greatly appreciated.
Thank you
  댓글 수: 2
KSSV
KSSV 2021년 5월 7일
What is B? Is it a mean of the grid 20x25? or it is a value at asingle location?
Ahmad Bayhaqi
Ahmad Bayhaqi 2021년 5월 7일
Hi @KSSV , yes It is a value at single location

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

답변 (1개)

KSSV
KSSV 2021년 5월 7일
As the data B is at a location......Pick the same location data from the grid 20x25 and then find the corelation. Read about plotregression, regression, corr etc.
  댓글 수: 2
Ahmad Bayhaqi
Ahmad Bayhaqi 2021년 5월 7일
@KSSV it's different value and not from any location from A.so that's why I want to do correlation A to B in all grids of A
KSSV
KSSV 2021년 5월 7일
Run a loop for each point of grid 20*25 and to the data B.

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by