Calculate phase from time-domain response
6 views (last 30 days)
Show older comments
Hi all,
I have following sinusoidal waveform as my system's input:
And following signal as my system's time-domain response:
Putting both of above diagrams into one (steady-state region) is depicted below:
Now the question is how can I calculate the phase shift caused by system? i.e. phase shift from blue line to red lines.
0 Comments
Answers (1)
Adam
on 11 Sep 2015
Edited: Adam
on 11 Sep 2015
You should be able to just find the peaks of each and take the shifts between the two or use the hilbert transform to give complex signals, find the 0-phase points of both curves and calculate the shift from those, which will amount to pretty much the same thing.
doc hilbert
See Also
Categories
Find more on Signal Generation and Preprocessing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!