Calculating Phase difference from workspace data

73 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)

Categories

Find more on Get Started with Control System Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!