Centering Each Column of a matrix to its mean
                    Version 1.0.0.0 (1.22 KB) by  
                  B H Sri Hari
                
                
                  This function centers each column of a matrix to its mean.
                
                  
              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
Cite As
B H Sri Hari (2025). Centering Each Column of a matrix to its mean (https://se.mathworks.com/matlabcentral/fileexchange/31212-centering-each-column-of-a-matrix-to-its-mean), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
              Created with
              R2007b
            
            
              Compatible with any release
            
          Platform Compatibility
Windows macOS LinuxCategories
      Find more on Engines & Motors in Help Center and MATLAB Answers
    
  Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | 
