How do I normalize Area under curve of NIR spectra to 1
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
NCA
am 27 Jun. 2021
Bearbeitet: Image Analyst
am 27 Jun. 2021
How do I normalize Area Under Curve of NIR spectra to 1 using Matlab 2020b please?
Thank You
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 27 Jun. 2021
Bearbeitet: Image Analyst
am 27 Jun. 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);
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Bar Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!