Normalize by peak area
Mostrar comentarios más antiguos
Hi,
I want to normalized peaks with different shape and area to the same area (ex:1).
Is there any already written program?
Thanks
1 comentario
Geoff Hayes
el 5 de Sept. de 2014
Yi-Ting - please provide an example of what you mean, or add more details to your question.
Respuestas (1)
Naama
el 12 de Sept. de 2014
If your data is in vector y, and your desired area is desired_area, then:
y_normalized = desired_area * y./sum(y);
Categorías
Más información sobre Descriptive Statistics en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!