Two dimensional Q-function

버전 1.3.0.0 (1.36 KB) 작성자: Hassan Moradi
This m-file numerically calculates the value of two dimensional Gaussian Q function.
다운로드 수: 449
업데이트 2010/9/17

라이선스 보기

Matlab code for calculation of 2d Gaussian Q function.

General description
This m-file provide a numerical computation of two-dimensional Gaussian Q-function, that is
Q(x1,x2,ro)=1/((1/sqrt(2*pi)*(1-ro^2))*int(int(exp(-(x^2+y^2-2roxy)/(2*(1-ro^2))) dxdy

The result may include a very small approximation error.

How to use it
To use the the file in your own program, just download the file and save it in the same path that your file is. You can call the 2d qfunction by:
answer=q2d(x1,x2,ro)
where x1 and x2 are the limit of the integrals and ro is the correlation coefficient.

Example:
>> q2d(-1.2,.3,.4)

ans =

0.3671

>>

인용 양식

Hassan Moradi (2026). Two dimensional Q-function (https://kr.mathworks.com/matlabcentral/fileexchange/28480-two-dimensional-q-function), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2006b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Get Started with Datafeed Toolbox에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.3.0.0

Adding some comments and an example.

1.0.0.0