prcorr2 - 10 times faster correlation coef.

Compute correlation coefficient over all dimensions.
6,5K Downloads
Aktualisiert 30. Sep 2003

Lizenz anzeigen

This is a faster implementation of MATLAB's corr2. Implemented as a mex-file generated with the ITERATOR tool that can be downloaded from www.mathworks.com

Re compile the source with MEX -O prcorr2.c

C = PRCORR2(A,B) computes the correlation between A and B. A and B are arrays witn any number of dims but with same number of elements

Class Support
-------------
A and B can be any numeric type but not complex value. C is a scalar double.

See also CORR2, CORRCOEF, STD2, ITERATOR, MEX

In future I may complement this fast function with a set of them that can replace some slow MATLAB functions.

(C) 2003 Peter Rydesäter, http://www.rydesater.com

Zitieren als

Peter Rydesäter (2024). prcorr2 - 10 times faster correlation coef. (https://www.mathworks.com/matlabcentral/fileexchange/4012-prcorr2-10-times-faster-correlation-coef), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R13
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Quellenangaben

Inspiriert von: TCP/UDP/IP Toolbox 2.0.6

Community Treasure Hunt

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

Start Hunting!

fastop/

Version Veröffentlicht Versionshinweise
1.0.0.0