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)?

 채택된 답변

Roger Stafford
Roger Stafford 2014년 12월 10일
편집: Roger Stafford 2014년 12월 10일

0 개 추천

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.)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

질문:

2014년 12월 10일

편집:

2014년 12월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by