如何绘制高斯分布曲线
我想画一条高斯分布曲线,我知道 p(x) = (1/σRoot(2π)) x exp (- (x-μ)2/2σ2),
我得到了平均值和标准差,但现在我不知道如何继续,这个钟声如何-会画出图形,从哪里得到坐标,上面的公式有什么用。 我在互联网上搜索了很多,但一无所获,每个地方都给出了如何在 Excel 或 Matlab 中绘制它,但我没有找到如何获取这些坐标以及如何绘制这些曲线。
如果有人能给我任何关于这方面的想法,那将会有很大的帮助。
I want to draw a Gaussian Distribution curve, i know
p(x) = (1/σRoot(2π)) x exp (- (x-μ)2/2σ2),
i got the mean and standard deviation, but now i don't know how to proceed, how this bell-graph will be drawn, from where to get the co-ordinates, what's the use of above formula.
I searched a lot on internet and got nothing, every where it's given that how to draw it in excel or in matlab, but nowhere i found how those co-ordinates are got and how those curves are drawn.
if anyone can give me any idea on this it will be of great help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
图表只是绘制在平面上的一组点。因此,基本上您要做的就是选择一组要在其上绘制曲线的 x 坐标。然后将这些 x 值插入到函数
p(x)
中以获取 y 坐标。最后,绘制结果点。
大多数绘图软件(如标准绘图计算器)都会为您自动执行所有这些功能。
A graph is simply a set of points plotted on the plane. So basically what you do is pick a set of x-coordinates that you want to plot the curve on. Then plug those x values into your function
p(x)
to get the y-coordinates.Lastly, plot the resultant points.
Most graphing software (like your standard graphing calculator) will automate all this functionality for you.