MATLAB Answers

How to obtain phase shift in simulink

6 views (last 30 days)
rammohan on 17 Mar 2014
Edited: Anuj on 19 Mar 2014
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.


Sign in to comment.

Answers (1)

Anuj on 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.


rammohan on 17 Mar 2014
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 on 19 Mar 2014
I think if you know theta, you can change the phase before rectifying the signal.

Sign in to comment.


No tags entered yet.

Community Treasure Hunt

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

Start Hunting!