measure phase of a sine wave

5 views (last 30 days)
hamid
hamid on 20 Dec 2016
Commented: Walter Roberson on 21 Dec 2016
I want to measure the phase of a sine wave in simulink during simulation. anybody knows how to do it?
  2 Comments
David Barry
David Barry on 20 Dec 2016
During or after simulation?
hamid
hamid on 21 Dec 2016
During simulation

Sign in to comment.

Answers (2)

cool
cool on 21 Dec 2016
your question is not clear

Walter Roberson
Walter Roberson on 21 Dec 2016
fft() and examine angle() of the result at the bin appropriate for the frequency you are interested in.

Categories

Find more on Applications 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!