MATLAB: Rotate the phasor in Simulink

phasor rotationsimulink

Dear all,
Hello,
Dose anybody know how to rotate a phasor in Simulink? For example, Rotate the phasor A 120 degree to Phasor B?
e2f34e48bdb39fcd9c1d7cfe557db41.png

Best Answer

Hi,
Try multiplying the phasor you want to rotate with a gain block of gain such that and . This shifts the input phasor at the required angle without changing the magnitude. You could view the magnitude and phase of the output phasor using Complex to Magnitude-Angle block. Please refer the attached figure to see how these blocks are connected. Hope it works.