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

    %% Find Inverse Error Function of Value

% Copyright 2015 The MathWorks, Inc.

erfinv(0.25)
%%
% For inputs outside |[-1,1]|, |erfinv| returns |NaN|. For |-1| and |1|,
% |erfinv| returns |-Inf| and |Inf|, respectively.
erfinv([-2 -1 1 2])
%% 
% Find the inverse error function of the elements of a matrix.
M = [0 -0.5; 0.9 -0.2];
erfinv(M)