How to fit multiple Gaussian functions in image without using the Curve fit GUI?

7 次查看(过去 30 天)
I am trying to fit multiple Gaussians in a TEM image. I want to achieve this using coding rather than the curve fitting tool.

回答(1 个)

Massimo Zanetti
Massimo Zanetti 2017-6-29
Hi Mishra,
here it the function you need fitgmdist.
It does fitting using Gaussian mixture model.
  4 个评论
Massimo Zanetti
Massimo Zanetti 2017-7-11
As Adam says, fitgmdist fits multi-dimensional data. In the doc page you see the input is a matrix X where rows are observations and columns are variable. Therefore, if you are dealing with 3-dimensional data, your matrix X will be size N-by-3, where N is the number of observations.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by