normalize matrix by standard deviation

I am preparing a data matrix of a data series of images to perform an EOF. It's a MxN matrix where M are the pixel values (rows) and N are the images. Is it possible to normalize the entire matrix by the standard deviation? If so, how can do this? Or do I have to normalize each image (column)?

 Respuesta aceptada

Roger Stafford
Roger Stafford el 10 de Dic. de 2014
Editada: Roger Stafford el 10 de Dic. de 2014
If A is your MxN matrix and is of type 'double', do this:
A = bsxfun(@rdivide,A,std(A));
(This assumes you want unbiased standard deviation.)

Más respuestas (0)

Categorías

Más información sobre Read, Write, and Modify Image en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 10 de Dic. de 2014

Editada:

el 10 de Dic. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by