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 件)
参考
カテゴリ
Help Center および File Exchange で Bar Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!