www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/GraphOfInverseCosineFunctionExample.m

    %% Plot the Inverse Cosine Function
% Plot the inverse cosine function over the domain $-1 \le x \le 1$.
%%

% Copyright 2015 The MathWorks, Inc.

x = -1:.05:1;
plot(x,acos(x))
grid on