probability distribution function (normal distribution)

버전 1.2.0.0 (1.63 KB) 작성자: Sherif Omran
This function calculates the probability under the normal distribution curve
다운로드 수: 3.5K
업데이트 날짜: 2009/6/19

라이선스 보기

This function calculates the probability under the normal distribution curve, plots the graph and the area calculated.

%Normaldistribution
%
% calculating the area under a normal distribution curve
% from -ve infinity upto point x.
%
% Input:
% x : point on the normal distribution curve
% mean : mean of the normal distribution curve
% sigma : standard deviation of the normal distribution curve
% (hint: normal dist mean=0, sigma=1)
% plotting: Plot the calculated area if plotting = 1
% Output: area under the curve.
%
% Example:
% x=[-20:20] % your data points
% sigma=length(x)/2/3.5 % PDF width is 3.5 sigma
% mean=0 % mean between -20 and 20
% normaldistribution(0, mean, sigma,1) % Calculate area from -inf to 0
%
%
% Author:
% Sherif Omran
% University and university hospital of Zurich
% Date: May 2009
% Part of my phd thesis:
% email: sherif.omran@gmx.de
%-------------------------------------------------------------------------%

인용 양식

Sherif Omran (2026). probability distribution function (normal distribution) (https://kr.mathworks.com/matlabcentral/fileexchange/23978-probability-distribution-function-normal-distribution), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2008a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Probability Distributions and Hypothesis Tests에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.2.0.0

Added an example on how to use it

1.1.0.0

corrected the title: from prbability into probability

1.0.0.0