Azzera filtri
Azzera filtri

90 degree phase shift

36 visualizzazioni (ultimi 30 giorni)
Yuntian Luo
Yuntian Luo il 5 Dic 2019
Commentato: Ridwan Alam il 14 Dic 2019
Hi,
I am using the vary phase of signal during simulation (https://www.mathworks.com/help/simrf/ug/variable-phase-shift.html), when I open the MATLAB command, the example shown works with the phase varying 180 degree. But when I change the simulink control signal into 90 degree, the output becomes into a straight line rather than 90 degree phase shift.
I was wondering if someone knows how to fix this problem or some other ways of doing the 90 degree phase shift.
Thanks
  1 Commento
Yuntian Luo
Yuntian Luo il 10 Dic 2019
Hi thanks again for answering the question, I am kind of busy these days, when I check the answer and done the simulation, I will vote up.
Thanks

Accedi per commentare.

Risposta accettata

Ridwan Alam
Ridwan Alam il 5 Dic 2019
Modificato: Ridwan Alam il 6 Dic 2019
Updated answer:
The problem is with the way "Outport" and "Configuration" blocks are used here. For example, change the Output parameter of the "Outport" block to Magnitude and Angle mode, and connect both output ports to the scope. Then you can track both the changes in magnitudes and angles of the signal. Also, on the "Configuration" block, make sure to uncheck the noise parameter.
Untitled.png
Hope this helps.
  5 Commenti
Yuntian Luo
Yuntian Luo il 14 Dic 2019
Thanks. I got your point. The sigal here are the complex type. Now I just want to have90 degree of the real signal instead of complex one. For example, the input is sin(wt) then the output is cos(wt), do you have some method to build it? Or can I rechange the complex signal into the real signal ?
Thanks
Ridwan Alam
Ridwan Alam il 14 Dic 2019
That sounds like a different question. Please post as a new question and we will try to answer.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by