파이썬 numpy rayleigh distribution1 파이썬 레일리분포(Rayleigh distribution) 레일리 분포(Rayleigh distribution) - rayleigh() 레일리 분포는 신호 처리에 사용된다. 여기에는 두 가지 매개 변수가 있다: scale - (표준 편차)는 기본값 1.0)의 평탄 분포를 결정한다. size - 반환된 배열의 모양이다. 크기가 2x3인 2의 척도로 레일리 분포를 위한 표본을 추출한다: from numpy import random x = random.rayleigh(scale=2, size=(2, 3)) print('x = random.rayleigh(scale=2, size=(2, 3)) : \n', x) 위의 코드를 실행하면 아래 그림과 같다. 파이썬 numpy 레일리분포 시각화 from numpy import random import matplotlib.pyp.. 2023. 12. 30. 이전 1 다음