Find phase difference between 2 sinusoidal signals

Find phase difference between 2 sinusoidal signals
2.4K Downloads
Updated 19 Oct 2010

View License

% Description: Given 2 sinusoidal signals of the
% same frequency, the function gives the "phase difference" between the
% 2 given signals
% The phase difference is in RADIANS!!!!!!
% The output is limited to pd={-pi,pi}radians
% Time Stamp: 2010 October 19 2043hrs

Cite As

Shashank Sawant (2024). Find phase difference between 2 sinusoidal signals (https://www.mathworks.com/matlabcentral/fileexchange/29075-find-phase-difference-between-2-sinusoidal-signals), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

The new file now limits the output to:
pd = {-pi,pi} radians

1.0.0.0