This
-0.147863143391227 + 0.655158275182930i
is not two values, it's a single complex number. See the i
at the right of the second part ? That's Matlab's way of telling you that that second number is the imaginary part of the number, the one which is multiplied by i
, the square root of -1.
Matlab is telling you, and I concur with Matlab on this, that that function returns complex values for negative inputs.