i have a coloum data, how to normalize it in Source Scanning Algorithm
Mostrar comentarios más antiguos
how to set the column data to a range of 0-1; what is the first step,get absolute value or normalize?
Respuesta aceptada
Más respuestas (1)
Wayne King
el 1 de Feb. de 2014
Editada: Wayne King
el 1 de Feb. de 2014
If you want the largest element in the vector to be mapped to 1, use the linfinity norm.
x = randn(100,1);
y = abs(x)/norm(x,Inf);
1 comentario
Roger
el 1 de Feb. de 2014
Categorías
Más información sobre Programming 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!