How can I write code for zero mean and scaling for a matrix of m*n dimension?
조회 수: 4 (최근 30일)
이전 댓글 표시
I am having matrix of dimension m*n and want to compute zero mean of that matrix and then scaled to it for providing a error value ?
댓글 수: 0
채택된 답변
Walter Roberson
2013년 3월 9일
newmatrix = yourmatrix - mean2(yourmatrix);
newmatrix = newmatrix ./ max(abs(newmatrix(:)));
댓글 수: 4
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!