Azzera filtri
Azzera filtri

Normalize by peak area

3 visualizzazioni (ultimi 30 giorni)
YI-TING
YI-TING il 5 Set 2014
Risposto: Naama il 12 Set 2014
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 Commento
Geoff Hayes
Geoff Hayes il 5 Set 2014
Yi-Ting - please provide an example of what you mean, or add more details to your question.

Accedi per commentare.

Risposte (1)

Naama
Naama il 12 Set 2014
If your data is in vector y, and your desired area is desired_area, then:
y_normalized = desired_area * y./sum(y);

Tag

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by