Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

new array using average row of the old array

1 Ansicht (letzte 30 Tage)
babis
babis am 19 Nov. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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

Antworten (1)

Matt J
Matt J am 19 Nov. 2013
Hint - the bsxfun() command could prove useful.

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by