Plot histogram of your data against a fitted normal distribution with highlighted quantiles

Plot the histogram of your data against a fitted normal distribution with highlighted quantiles
312 Downloads
Updated 4 Feb 2016

View License

The code plots the histogram of your data against a fitted normal distribution with the same mean and variance. It also plots on the same graph any quantiles given by their corresponding percentiles. This can also be used to find the Value at Risk VaR for a sample of data.

Cite As

Haidar Haidar (2024). Plot histogram of your data against a fitted normal distribution with highlighted quantiles (https://www.mathworks.com/matlabcentral/fileexchange/55253-plot-histogram-of-your-data-against-a-fitted-normal-distribution-with-highlighted-quantiles), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Histograms in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0