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.

Asked:

on 19 Oct 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!