probability density from 2D Gaussian fitting

7 Ansichten (letzte 30 Tage)
OH
OH am 7 Jan. 2019
Kommentiert: OH am 10 Jan. 2019
I have fitted a 2D Gaussian to a surface using the Lsqcurvefit. I need to get the probability density of the fit so I can compute the log-likelihood of the Gaussian model. The Matlab fitdist function seems to do this for vectors, but can it be used for getting the PD of a fitted surface and the matrix with the real values to be fitted? Are there other ways of getting the log-likelihood of the model?
Thanks for any help!

Antworten (1)

Vishal Bhutani
Vishal Bhutani am 10 Jan. 2019
Based on my understanding you want to obtain the probabiliy distribution for the 2D data. The link attached below might help you:
  1 Kommentar
OH
OH am 10 Jan. 2019
Thanks, but the question is not answered in the link. I want to obtain the pdf of the fitted Gaussian given the matrix with the raw data.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by