Plot of Probability Density function in MATLAB
이전 댓글 표시
I have time series data.I want to see the plot of PDF.For this, in MATLAB,I have to mention the name of the PDF-type like 'norm'.All PDF types are continuous line.But,I need discrete PDF data points plot.
채택된 답변
추가 답변 (3개)
Keerthivasan Rajamani
2017년 11월 2일
1 개 추천
Maybe this could be helpful to consider:
histogram(variable_name,'Normalization','probability')
Daniel Shub
2011년 12월 8일
The pdf function can handle binomial, Poisson, and discrete uniform distributions, so not all of them are continuous.
Also are you sure you don't just want to do:
hist(x)
where x is your data?
카테고리
도움말 센터 및 File Exchange에서 Binomial Distribution에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!