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!