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 Commenti

David Barry
David Barry il 20 Dic 2016
During or after simulation?
hamid
hamid il 21 Dic 2016
During simulation

Accedi per commentare.

Risposte (2)

Walter Roberson
Walter Roberson il 21 Dic 2016

0 voti

fft() and examine angle() of the result at the bin appropriate for the frequency you are interested in.

Richiesto:

il 20 Dic 2016

Commentato:

il 21 Dic 2016

Community Treasure Hunt

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

Start Hunting!

Translated by