Typing the command angle(1+i) yields an angle of 45 degrees,
No it doesn't. It returns the equivalent angle in radians, however.
but typing angle(-1-2i) yields -2.0344.
Why is the angle being measured clockwise from the x axis in one case and and counterclockwise in the other?
"theta = angle(z) returns the phase angle in the interval [-π,π] for each element of a complex array z. The angles in theta are such that z = abs(z).*exp(i*theta)."
If you want the angles to be in the interval [0, π] instead add the negative angle to 2*pi.
theAngles = rad2deg([A3; A3pos])
These angles are:
360 degrees apart.