You have to be very careful when you use the atan function because it does not always give you the correct quadrant. If you look at the answer in rectangular coordinates, you'll see that the vector is pointing in the correct direction (147.4 degrees, which is 180 degrees opposite -32.6 degrees). If you use atan, then you need to identify the quadrant of the unit circle, in order to get the correct angle. Alternatively, you can use the atan2 function which is available in Matlab.