how can i standardise the elements in a matrix
Mostrar comentarios más antiguos
I want to standardie the elements in a 9*576 double matrix (pn) in matlab.
I use the below code, but i dont get the same dimension, it gives 9*1 double matrix(pn1) , how can i standardise each element and get the same dimension.
mu = mean(pn);
sig = std(pn);
pn1 = (pn- mu) / sig;
3 comentarios
Star Strider
el 8 de Dic. de 2020
I deleted my Answer (originally posted on 3 Dec 2020 at 1:48), since there are extensive repeated posts on the same subject: normalising and reverse normalising data, normalisation and reverse process _Forecasting _mean standard deviation , and perhaps others.
NN
el 8 de Dic. de 2020
Star Strider
el 8 de Dic. de 2020
My pleasure.
Respuestas (0)
Categorías
Más información sobre Just for fun en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!