MATLAB: How to measure the phase difference between two signals in simulink

MATLABmeasurephase differencesimulink

I have two signals in my circuit and i would like to measure the phase difference between them. Is there a block i could use? If not, how can i measure this difference?

Best Answer

Try multiplying the two signals together, and then passing the result through a low pass filter.
Related Question