acos
Inverse Cosine.
y=acos(x)
Inputs
x An array of real or complex numbers.
Outputs
y An array of same size as x . Each element of the output is the inverse cosine of the corresponding element of the input. Note that elements of the input are allowed to be larger than 1 as well as complex.


Example
>>x=rand(3,2);
>>x
    0.3490    0.1295
    0.4622    0.0036
    0.6765    0.4877

>>z=cos(x);
>>y=acos(z);
>>y
    0.3490    0.1295
    0.4622    0.0036
    0.6765    0.4877

>>a=complexRandn(2,3)
>>a
   -0.2031 +  0.8265i       0.4834 +  0.6704i       0.0390 -  0.0274i   
   -0.6430 +  0.8505i       0.1225 -  0.4678i      -0.0616 -  0.0800i   

>>b=cos(a)
>>c=acos(b)
>>c
    0.2031 -  0.8265i       0.4834 +  0.6704i       0.0390 -  0.0274i   
    0.6430 -  0.8505i       0.1225 -  0.4678i       0.0616 +  0.0800i