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

    %% Find Inverse Complementary Error Function

% Copyright 2015 The MathWorks, Inc.

erfcinv(0.3)
%%
% Find the inverse complementary error function of the elements of a
% vector.
V = [-10 0 0.5 1.3 2 Inf];
erfcinv(V)
%% 
% Find the inverse complementary error function of the elements of a
% matrix.
M = [0.1 1.2; 1 0.9];
erfcinv(M)