Calculates the sample corr. coef. for the series with missing data expected. UPDATED ON MAR 8!
Updated 8 Mar 2012

View License

Highly useful for any meteorological, geophysical etc. series of observations in which missing data are expected

Cite As

Isabella Osetinsky-Tzidaki (2024). nancorr (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Weather and Atmospheric Science in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Updated for replacement of an existing value with NaN from one series when there is a missing value (NaN) in another. Otherwise, a correlation coefficient is underestimated if the is/are pair/s with one NaN.