2D Multivariate Gaussian

Plot the 2D Multivariate Gaussian function when mean vector and covariance matrix are provided.
942 Downloads
Updated 13 Apr 2011

View License

this function plots the 2D multivariate gaussian when the mean and covariance are provided. It does not use for loops.

ex: plot mean=[10;11],cov=[6 0;0 6] 2D multivariate gaussian function

>> mvg([10;11],[6 0;0 6])

Cite As

Chathurika Dharmagunawaradhana (2026). 2D Multivariate Gaussian (https://www.mathworks.com/matlabcentral/fileexchange/31035-2d-multivariate-gaussian), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Linear Algebra in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0