Calculating Phase difference from workspace data
Show older comments
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
More Answers (0)
Categories
Find more on Get Started with Control System Toolbox 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!