How do I normalize Area under curve of NIR spectra to 1
6 次查看(过去 30 天)
显示 更早的评论
How do I normalize Area Under Curve of NIR spectra to 1 using Matlab 2020b please?
Thank You
0 个评论
采纳的回答
Image Analyst
2021-6-27
编辑:Image Analyst
2021-6-27
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!