fast_cov( X )

fast_cov(X): Covariance calculation 15-35% faster than MATLAB built-in cov() for high-dimensional X
65 download
Aggiornato 15 nov 2017

Visualizza la licenza

fast_cov(): Covariance calculation 15-35% faster than MATLAB built-in cov() for high-dimensional X
Input X : M x N ( # features x # samples)
Output Xcov : M x M covariance matrix
NOTE: Easy to confirm that output of fast_cov(X) == cov(X')

Cita come

Joseph Betthauser (2025). fast_cov( X ) (https://it.mathworks.com/matlabcentral/fileexchange/65070-fast_cov-x), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2017b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Statistics and Machine Learning Toolbox in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0

Specified that the speed boost is achieved particularly for high-dimensional data. For small data matrices, cov() is faster or equivalent.