How to normalize curves with multiple peaks such that each peak will be 1 and each valley will be 0?
Afficher commentaires plus anciens
Hello,
I am looking for a way to normalize curves with multiple peaks such that each local maximum and minimum will be set to 1 and 0 respectively, and that the values between the maxima and minima will be set accordingly.
Thanks,
Haguy.
2 commentaires
dpb
le 20 Jan 2019
Only thing comes to mind would be to find each max/min pair and compute the necessary factor for those positions and then interpolate that scaling factor between each.
Providing an example data set would probably be beneficial.
Haguy Wolfenson
le 20 Jan 2019
Réponse acceptée
Plus de réponses (2)
Sargondjani
le 20 Jan 2019
0 votes
Yeah, you would have to calculate a scaling factor for each peak/trough. In one dimension you can then use the scaling factor for each interval. In multiple dimensions you would have to interpolate the scaling factor.
1 commentaire
dpb
le 20 Jan 2019
That would be discontinuous tho, between the sections excepting in very unusual circumstances.
xiaoxiaoliu xiaoxiaoliu
le 28 Août 2020
0 votes
How to normalize curves with multiple peaks such that each peak will be 1 and each valley will be -1?
Catégories
En savoir plus sur Descriptive Statistics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



