new array using average row of the old array
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
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
Respuestas (1)
Matt J
el 19 de Nov. de 2013
0 votos
Hint - the bsxfun() command could prove useful.
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!