필터 지우기
필터 지우기

subtract average of the column from each of its value.

조회 수: 3 (최근 30일)
Explorer
Explorer 2016년 1월 29일
댓글: Manoj Kumar 2018년 9월 20일
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)
  댓글 수: 3
Explorer
Explorer 2016년 1월 30일
Thanks.
Manoj Kumar
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개)

카테고리

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