Plot histogram of your data against a fitted normal distribution with highlighted quantiles
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |