spatialcorr3(vararg​in)

Spatial correlation having timesteps
476 Downloads
Updated 9 Jan 2018

View License

Created by Ankur Kumar Wednesday; January 03, 2018
Version: 1.0
National Institute of Techonology, Rourkela
Rourkela, Odisa - 769008, India
Department of Earth and Atmospheric Sciences
Email: ankurk017@gmail.com
416AS2025@nitrkl.ac.in

Function:
For the spatial correlation between two variables, spatialcorr3
helps us to get on the desired result. Both the input matrices
should be in three dimension. One of the dimensions of a matrix
should reflect the time. If you have taken the mean of all time
steps (suggestion is not to take the mean) or if the data is
available in monthly mean format or daily mean format, then use
spatialcorr2.

Syntax:
C1=spatialcorr3(A,B);
C2=spatialcorr3(A,B,2);

Inputs:
First and second input should be the matrices between which you
want to find correlation.
Third dimension should be of dimension which reflects the time.
If you keep this argument empty, then by default it set to 3.

Example:
A=randi(25,10,20,365);
B=randi(55,10,20,365);
C1=spatialcorr3(A,B,1);
C2=spatialcorr3(A,B,2);
C3=spatialcorr3(A,B,3);

Please send your suggestions to the email id: ankurk017@gmail.com or
416AS2025@nitrkl.ac.in

Cite As

ANKUR KUMAR (2024). spatialcorr3(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/65640-spatialcorr3-varargin), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0