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

    %% Plot the Inverse Error Function
% Plot the inverse error function for -1 < x < 1.

% Copyright 2015 The MathWorks, Inc.

x = -1:0.01:1;
y = erfinv(x);
plot(x,y)
grid on
xlabel('x')
ylabel('erfinv(x)')
title('Inverse Error Function for -1 < x < 1')