version (1.9 KB) by Denis Gilbert
Pearson's correlation for vectors with NaNs


Updated 14 Sep 2001

View License

Computes Pearson's product moment correlation for input vectors that contain NaN values.

Cite As

Denis Gilbert (2022). nancorrcoef (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
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!