plotcov(C, mu, varargin)

Version 1.0.0.0 (21.1 KB) by Paul
Visualise a 2x2 covariance matrix by plotting ellipses at 1, 2 and 3 standard deviations.
258 Downloads
Updated 10 Nov 2016

View License

Assuming `size(X,2) == 2` then
```
plotcov(cov(X), mean(X));
```

will draw ellipses at 1, 2 and 3 standard deviations.

See also (or just run) `plotcov_demo` for an example.

Cite As

Paul (2024). plotcov(C, mu, varargin) (https://www.mathworks.com/matlabcentral/fileexchange/60177-plotcov-c-mu-varargin), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux

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