How do I normalize Area under curve of NIR spectra to 1

10 visualizaciones (últimos 30 días)
NCA
NCA el 27 de Jun. de 2021
Editada: Image Analyst el 27 de Jun. de 2021
How do I normalize Area Under Curve of NIR spectra to 1 using Matlab 2020b please?
Thank You

Respuesta aceptada

Image Analyst
Image Analyst el 27 de Jun. de 2021
Editada: Image Analyst el 27 de Jun. de 2021
Don't you just do
signal = signal / sum(signal);
That's if you're plotting your signal like little bars in a bar chart. If you're computing area like they're little trapezoids, then use
signal = signal / trapz(signal);

Más respuestas (0)

Categorías

Más información sobre Bar Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by