필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

new array using average row of the old array

조회 수: 1 (최근 30일)
babis
babis 2013년 11월 19일
마감: MATLAB Answer Bot 2021년 8월 20일
I have an array M(1000,1000) and i want to build a new array N(1000,1000), where each element of N has the old value minus the average of its row (in M) devided by the standard deviation of this row. If the element is zero no action will be taken. Also, from the average the zeros should be excluded.
Can you help me?
thank you in advance

답변 (1개)

Matt J
Matt J 2013년 11월 19일
Hint - the bsxfun() command could prove useful.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by