Normalize by peak area
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Geoff Hayes
2014 年 9 月 5 日
Yi-Ting - please provide an example of what you mean, or add more details to your question.
回答 (1 件)
Naama
2014 年 9 月 12 日
If your data is in vector y, and your desired area is desired_area, then:
y_normalized = desired_area * y./sum(y);
0 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!