Calculating Phase difference from workspace data
35 views (last 30 days)
Show older comments
Jilan Samiuddin
on 19 Apr 2015
Answered: Navaneeth Raman
on 21 Apr 2015
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/149220/image.png)
0 Comments
Accepted Answer
Navaneeth Raman
on 21 Apr 2015
Hi there,
This has already been answered here:
HTH, Navaneeth
0 Comments
More Answers (0)
See Also
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!