probability density from 2D Gaussian fitting

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!

답변 (1개)

Vishal Bhutani
Vishal Bhutani 2019년 1월 10일

0 개 추천

Based on my understanding you want to obtain the probabiliy distribution for the 2D data. The link attached below might help you:

댓글 수: 1

OH
OH 2019년 1월 10일
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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터 및 File Exchange에서 Curve Fitting Toolbox에 대해 자세히 알아보기

질문:

OH
2019년 1월 7일

댓글:

OH
2019년 1월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by