Plot of Probability Density function in MATLAB
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (3)
Keerthivasan Rajamani
il 2 Nov 2017
1 voto
Maybe this could be helpful to consider:
histogram(variable_name,'Normalization','probability')
Daniel Shub
il 8 Dic 2011
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?
cheng wei chen
il 15 Mar 2022
0 voti
不知道
Categorie
Scopri di più su Binomial Distribution in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!