フィルターのクリア

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