normrnd_normfit helps the user generate a normally distributed random set
of data and then fit a Gaussian curve on the top of the data and back
compute its mean and standard deviation. It helps the user check if NORMRND
function did its job.It plots the original histogram and the fitted one.
normrnd_normfit uses two Matlab(R) functions: NORMRND and HIST.
Nassim Khaled (2020). Gaussian-normally distributed random data (https://www.mathworks.com/matlabcentral/fileexchange/35089-gaussian-normally-distributed-random-data), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!