PLOT_GAUSSIAN_ELLIP​SOID

版本 1.0.0.1 (2.6 KB) 作者: Gautam Vallabha
Plots two- and three-dimensional Gaussian distributions
9.9K 次下载
更新时间 2016/9/1

查看许可证

PLOT_GAUSSIAN_ELLIPSOIDS plots 2-d and 3-d Gaussian distributions.

H = PLOT_GAUSSIAN_ELLIPSOIDS(M, C) plots the distribution specified by mean M and covariance C. The distribution is plotted as an ellipse (in 2-d) or an ellipsoid (in 3-d). By default, the distributions are plotted in the current axes. H is the graphics handle to the plotted ellipse or ellipsoid.

PLOT_GAUSSIAN_ELLIPSOIDS(M, C, SD) uses SD as the standard deviation along the major and minor axes (larger SD => larger ellipse). By default, SD = 1.

PLOT_GAUSSIAN_ELLIPSOIDS(M, C, SD, NPTS) plots the ellipse or ellipsoid with a resolution of NPTS (ellipsoids are generated on an NPTS x NPTS mesh). By default, NPTS = 50 for ellipses, and 20 for ellipsoids.

PLOT_GAUSSIAN_ELLIPSOIDS(M, C, SD, NPTS, AX) adds the plot to the axes specified by the axis handle AX.

引用格式

Gautam Vallabha (2026). PLOT_GAUSSIAN_ELLIPSOID (https://ww2.mathworks.cn/matlabcentral/fileexchange/16543-plot_gaussian_ellipsoid), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Contour Plots 的更多信息
版本 已发布 发行说明
1.0.0.1

Updated license

1.0.0.0

Added nargout==0 check.
Updated help text & description.