matlab을 이용한 PMF함수출력
- 최초 등록일
- 2010.07.07
- 최종 저작일
- 2009.10
- 9페이지/ 한컴오피스
- 가격 1,500원
소개글
matlab을 이용한 PMF함수출력
-이론
-소스코드
-시뮬레이션파형
목차
1.소스코드
2.시뮬레이션파형
3.이론
본문내용
⇒ This problem use the binopdf command for expression PMF.
Description of binopdf function ( Source of description : Matlab Help)
: computes the binomial pdf at each of the values in X using the corresponding parameters in N and P. Y, N, and P can be vectors, matrices, or multidimensional arrays that all have the same size. A scalar input is expanded to a constant array with the same dimensions of the other inputs.
The parameters in N must be positive integers, and the values in P must lie on the interval [0 1].
The binomial probability density function for a given value x and given pair of parameters n and p is
where q = 1-p. The result, y, is the probability of observing x successes in n independent trials, where the probability of success in any given trial is p. The indicator function I(0,1,...,n)(x) ensures that x only adopts values of 0, 1, ..., n.
(a) Plot the corresponding PMF with n=10 and p=.
참고 자료
없음