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?
댓글 수: 0
채택된 답변
Walter Roberson
2016년 1월 29일
YourVariable - repmat(mean(YourVariable), size(YourVariable,1), 1)
댓글 수: 3
Manoj Kumar
2018년 9월 20일
What to do if the window size is selected such as 3*3, 5*5, or 9*9 in case of an image?
Thanks!
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!