MATLAB: Changing Phase of a signal

changephasesimulink

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…

Best Answer

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
Related Question