how to normalize data between specific range
Mostrar comentarios más antiguos
Hi
I have triangle signal starting from different negative values go to positive values and comeback to negative values. I want them to normalize between 0 and 1 so that there starting values will be same Itried to use this formula.
" normalized_data = data-min(data)/max(data)-min(data)"
by using above values I can align maximum values and ending points but I want to allign its starting point and its maximum point. Can any one help me what should I do.

Regrads,
Haziq
Respuesta aceptada
Más respuestas (1)
Steven Lord
el 26 de Feb. de 2020
1 voto
Use the normalize function.
1 comentario
Muhammad Haziq
el 26 de Feb. de 2020
Categorías
Más información sobre Simulink 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!