subtract average of the column from each of its value.

3 次查看(过去 30 天)
There is a matrix of 128 by 15632 order. Consider the columns of a matrix as a window. I have to subract average of window from each value of the respective window. How to do this using MATLAB?

采纳的回答

Walter Roberson
Walter Roberson 2016-1-29
YourVariable - repmat(mean(YourVariable), size(YourVariable,1), 1)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with Phased Array System Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by