Hi, I need to write a function using 'hist' that takes the values of the continuous random variable X and the vector of values of x and returns the probability density function. if it's possible give me an example too.
Info
This question is closed. Reopen it to edit or answer.
Show older comments
function fx=probability_density_function(X,x)
1 Comment
tesarj13
on 26 Oct 2018
Can you provide sample data?
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!