find onest and end of wave ?
Ältere Kommentare anzeigen
hello
how i can find the onest (the beginning) and the end of wave if i have the peaks only?
2 Kommentare
KSSV
am 17 Nov. 2021
Show us how your data is. Pictorial example with your expectations will help us to help you.
yasmeen hadadd
am 17 Nov. 2021
Antworten (1)
Bjorn Gustavsson
am 17 Nov. 2021
0 Stimmen
You cannot in a strict sense. You will have to settle for the first and last wave-crest, or set some arbitrary threshold for the wave-amplitude (10% of the peak, of the peak-to-peak, whatever). That this is impossible follows from the fact that functions like f(x-vt) solves the wave-equation - we can for example set f to be some sequence of Gaussian pulses moving to the right, and since a Gaussian has infinite support where it starts or ends becomes a question of where you set your threshold.
In practice if you have some natural noise-level in your measurements this might give you some sensible reason to select a threshold.
HTH
4 Kommentare
yasmeen hadadd
am 17 Nov. 2021
Bjorn Gustavsson
am 17 Nov. 2021
Ok, take it step by step.
1, Identify the peak
2, find s - the full-widths at 1/e,
3, take the data out to +/- 2s or 3s.
4, fit a Gaussian to that data, using fminsearch.
This should give you the Gaussian that is best fitting to the peak. Then you just have to select a threshold where you consider the "wave to start".
HTH
yasmeen hadadd
am 17 Nov. 2021
Bjorn Gustavsson
am 17 Nov. 2021
You're ever so welcome.
Kategorien
Mehr zu Pulse and Transition Metrics 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!
