fast_cov( X )

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

Ahora está siguiendo esta publicación

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')

Citar como

Joseph Betthauser (2026). fast_cov( X ) (https://la.mathworks.com/matlabcentral/fileexchange/65070-fast_cov-x), MATLAB Central File Exchange. Recuperado .

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
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.