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 (2021). Gaussian-normally distributed random data (https://www.mathworks.com/matlabcentral/fileexchange/35089-gaussian-normally-distributed-random-data), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!