subtract average of the column from each of its value.

4 views (last 30 days)
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?

Accepted Answer

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

More Answers (0)

Categories

Find more on Get Started with Phased Array System Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!