Clear Filters
Clear Filters

Changing Phase of a signal

5 views (last 30 days)
Vinol Joy D'souza
Vinol Joy D'souza on 25 Jul 2011
Commented: L K on 31 Aug 2016
This is the similar situation i am facing..
I have a sine block and i use the sine wave to feed it to another block...Now if i want the same sine block to be the input to another block but the sine wave being phase shifted by 180 degrees..Is there any block in simulink to do it..
Overall i just want 2 outputs from a sine block 1)the same sine wave 2)other wave,phase shifted by 180 degrees
Please help me...

Accepted Answer

Titus Edelhofer
Titus Edelhofer on 25 Jul 2011
Hi,
you could put into the phase entry the vector [0 180], then you will get a two component vector as output signal. Use either selector or demultiplexer to split into individual signals.
Titus
  3 Comments
Vinol Joy D'souza
Vinol Joy D'souza on 6 Aug 2011
Thank you very much....
L K
L K on 31 Aug 2016
how do u do that ?? [0 180]? where do you specify it?

Sign in to comment.

More Answers (1)

Fangjun Jiang
Fangjun Jiang on 25 Jul 2011
Certainly you can do this with two sine wave blocks, but I guess you are not looking for this solution. What I am trying to say is that you can think about it in a physical world. If you can only see the value of a signal coming, you want to shift it with 180 degrees phase. It's not a simple task. I don't know any readily available Simulink block can do that.

Products

Community Treasure Hunt

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

Start Hunting!