Centering Each Column of a matrix to its mean

This function centers each column of a matrix to its mean.
348 téléchargements
Mise à jour 27 avr. 2011

Afficher la licence

Let the input to this function be X, an m x n matrix. Also, let Y be the output. This function does the following.

Y(:,i) = X(:,i) - mean(X(:,i)), for i = 1 to n

Citation pour cette source

B H Sri Hari (2024). Centering Each Column of a matrix to its mean (https://www.mathworks.com/matlabcentral/fileexchange/31212-centering-each-column-of-a-matrix-to-its-mean), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2007b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Engines & Motors dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0