How to normalize curves with multiple peaks such that each peak will be 1 and each valley will be 0?
Ältere Kommentare anzeigen
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 Kommentare
dpb
am 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
am 20 Jan. 2019
Akzeptierte Antwort
Weitere Antworten (2)
Sargondjani
am 20 Jan. 2019
0 Stimmen
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 Kommentar
dpb
am 20 Jan. 2019
That would be discontinuous tho, between the sections excepting in very unusual circumstances.
xiaoxiaoliu xiaoxiaoliu
am 28 Aug. 2020
0 Stimmen
How to normalize curves with multiple peaks such that each peak will be 1 and each valley will be -1?
Kategorien
Mehr zu Descriptive Statistics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



