How can I write code for zero mean and scaling for a matrix of m*n dimension?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Walter Roberson
il 9 Mar 2013
newmatrix = yourmatrix - mean2(yourmatrix);
newmatrix = newmatrix ./ max(abs(newmatrix(:)));
4 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!