07 July 2018 6 8K Report

Suppose I enter a complex number, say z = (-2)*exp(i*pi/6). And, I have to get the phase of "z" as [pi/6] only. But when I try to retrieve the phase using angle(z), it would display the phase as [(pi/6)-pi]. I understand the reason behind shift of angle "pi" and I don't want this to happen in my original phase. Please help me out on this problem.

Similar questions and discussions