Main Content

Extract the Phase of Sine Wave

Extract the phase of a sine wave signal using the Phase Extractor block.

Generate the input sine wave using the Sine Wave block. Set the Sine Wave block parameters to the following:

  • Frequency set to 10 Hz

  • Sample mode set to Discrete

  • Output complexity set to Complex

  • Sample time set to 1/1000

  • Sample per frame set to 128

In the Phase Extractor block, do not select the Unwrap phase only within the frame parameter.

Open and run the model. The Time Scope block displays the extracted phase.

See Also

| |