Calculating Phase difference from workspace data

27 views (last 30 days)
Hi,
As you can see from the diagram below, I have generated two wave functions from the workspace data and now I am interested in calculating/obtaining the phase difference between the two. Is there any efficient way of doing it in MATLAB or some mathematical formulation that I might be able to use?
FYI: My aim is to plot the bode plot eventually from different sets of data, let's say for an unknown system.

Accepted Answer

Navaneeth Raman
Navaneeth Raman on 21 Apr 2015

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!