How to obtain phase shift in simulink

I have one signal sin(wt) and another phase "theta".How to obtain sin(wt-theta) in simulink matlab.Here theta is the output of pid controller.

Risposte (1)

Anuj
Anuj il 17 Mar 2014
If you double click on sine block, you will see time (t) under parameters. You can select it to use external signal and in external signal, you may apply whatever phase shift you want by addition/subtraction, I hope it helps.
Regards

2 Commenti

Hi, Actually my sine wave is rectified output.|sin(wt)| which is taken from the output terminals of a rectifier.Can u pls tell me how to pahse shift this signal when "theta" is provided.
Anuj
Anuj il 19 Mar 2014
Modificato: Anuj il 19 Mar 2014
I think if you know theta, you can change the phase before rectifying the signal.

Accedi per commentare.

Categorie

Tag

Non è stata ancora inserito alcun tag.

Richiesto:

il 17 Mar 2014

Modificato:

il 19 Mar 2014

Community Treasure Hunt

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

Start Hunting!

Translated by