Yes i realize it returns a matrix with the values having a norm of 1 but how exactly does it do this? My knowledge of statistics is sorely lacking.
Thanks!

 Respuesta aceptada

Jos (10584)
Jos (10584) el 28 de En. de 2014

0 votos

You can open the m-file (type norm.m) and find something like this:
[mr,mc]=size(m);
if (mc == 1)
n = m ./ abs(m);
else
n=sqrt(ones./(sum((m.*m)')))'*ones(1,mc).*m;
end
That's all ...

Más respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 28 de En. de 2014

Respondida:

el 28 de En. de 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by