We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de6059f commit d8ef735Copy full SHA for d8ef735
1 file changed
Mathematical_Functions/Statistics/bivarNormCDF.m
@@ -23,16 +23,16 @@
23
%REFERENCES:
24
%[1] A. Genz, "Numerical computation of rectangular bivariate and
25
% trivariate normal and t probabilites," Statistics and Computing, vol.
26
-% 14, pp. 251–260, 2004.
+% 14, pp. 251-260, 2004.
27
%
28
%July 2021 David F. Crouse, Naval Research Laboratory, Washington D.C.
29
%(UNCLASSIFIED) DISTRIBUTION STATEMENT A. Approved for public releas
30
31
-if(nargin<3||isempty(mu))
+if(nargin<2||isempty(mu))
32
mu=[0;0];
33
end
34
35
-if(nargin<4||isempty(R))
+if(nargin<3||isempty(R))
36
R=eye(2,2);
37
38
@@ -48,7 +48,7 @@
48
k=-b2;
49
s=2*(rho>=0)-1;
50
51
-%Points to use for subature integration.
+%Points to use for cubature integration.
52
[xi,w]=GaussLegendrePoints1D(20);
53
54
if(abs(rho)<0.925)
0 commit comments