www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/FindScaledComplementaryErrorFunctionOfValueExample.m
%% Find Scaled Complementary Error Function % Copyright 2015 The MathWorks, Inc. erfcx(5) %% % Find the scaled complementary error function of the elements of a vector. V = [-Inf -1 0 1 10 Inf]; erfcx(V) %% % Find the scaled complementary error function of the elements of a matrix. M = [-0.5 15; 3.2 1]; erfcx(M)