Centering Each Column of a matrix to its mean

版本 1.0.0.0 (1.2 KB) 作者: B H Sri Hari
This function centers each column of a matrix to its mean.
348.0 次下载
更新时间 2011/4/27

查看许可证

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

引用格式

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. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Engines & Motors 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0