How can I write code for zero mean and scaling for a matrix of m*n dimension?
2 次查看(过去 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!