wave phase adjustment between several signals
Mostrar comentarios más antiguos
Hi!
Can anyone help me on this?
I have a file with 8 wave signals that belong to the same wave gauge S1:
time signal1 signal2 signal3 signal4.....
The ideia is to adjust the phase of the signals so that they start with the same wave phase and height. If I do this manually (as I did in the figure) I have to shift each signal in time until I find a proper overlapping for the 8 signals.
Is there any function/routine available for this purpose?
Many thanks!
3 comentarios
Star Strider
el 20 de Ag. de 2014
I can’t open your file in either Excel or MATLAB. Save it in another format (like .csv) and try again. (Use the ‘paperclip’ or ‘staple’ icon above the window.)
Ana
el 20 de Ag. de 2014
Star Strider
el 20 de Ag. de 2014
Thanks. I’ll work with it and see if I can provide a solution. No promises, though.
Respuestas (1)
Daniel kiracofe
el 23 de Ag. de 2014
0 votos
I think xcorr() may help here. xcorr() will basically try every possible time shift for you, and let you know what shift makes the peaks and valleys line up "the best". I looked at your data, and you'll probably want to slice out the first few cycles and use xcorr on that instead of the whole data set.
Here is a short example from my website on the use of xcorr()
Categorías
Más información sobre Descriptive Statistics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!