Finding the phase of a complex number. Write a function phaseDeg() in MATLAB that returns a phase angle (argument) φ in degrees of a complex number given as in MATLAB, where a and b represent the real and imaginary parts, respectively, of c, Eq.(6.24). (phaseDeg.m on IR)
HINT: Implement Eq.(6.25) to find φ in radians, and then convert it to degrees using the relationship
Note that, while using i for the imaginary unit in MATLAB, one must be careful to avoid using the same symbol, i, for other quantities in the code, e.g., as an index (counter) in a for loop or otherwise. An alternative is to use 1i as the imaginary unit, so to write a + 1i*b in place of a + i*b. Note also that j serves as the imaginary unit in MATLAB as well.
Reference: Equation-6.24
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.