An interactive MATLAB App Designer tool for real-time visualization of continuous and discrete probability distributions, PDFs, and CDFs.
An interactive MATLAB application designed to visualize continuous and discrete probability distributions in real time as the parameters change with synchronized PDF/PMF and CDF plots. Credits: The descriptions of the distributions are form the "Seeing Theory" website: https://seeing-theory.brown.edu/probability-distributions/index.html#section2
- Continuous & Discrete Distributions: Visualizes Normal, Uniform, Student's T, Chi Squared, Exponential, F, Gamma, Beta, Bernoulli, Binomial, Geometric, Poisson and Negative Binomial distributions.
- Real-time Parameter Sliders: Interactively change mean, standard deviation, number of trials, or probability values to see plots update instantly.
- CDF/CMF Tracking: Toggle and overlay Cumulative Distribution Functions dynamically on top of density plots.
- Interactive UI: Smooth transitions, auto-scaling axis bounds, and clean layout built with MATLAB App Designer.
To run this app, you need:
- MATLAB (R2020b or newer recommended)
- Statistics and Machine Learning Toolbox (Required for probability density functions)
- Download the
Probability Distributions.mlappinstallfile from this repository. - Double-click the downloaded file (or drag and drop it into your MATLAB command window).
- Click Install.
- Open the app anytime from the Apps tab in your top MATLAB toolbar!
- Download or clone this repository.
- Open MATLAB and type
appdesignerin the Command Window. - Open
ProbDist.mlappto view, edit, or modify the source code and user interface.