measure phase of a sine wave

I want to measure the phase of a sine wave in simulink during simulation. anybody knows how to do it?

2 Comments

During or after simulation?
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.

Asked:

on 20 Dec 2016

Commented:

on 21 Dec 2016

Community Treasure Hunt

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

Start Hunting!