How can I write code for zero mean and scaling for a matrix of m*n dimension?
1 回表示 (過去 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!