How to applied 2d gaussian function

조회 수: 9 (최근 30일)
Z998567
Z998567 2021년 8월 3일
댓글: Matt J 2021년 8월 3일
Hi,
I upload my code and data I don't know why the fit not working and the amplitude not in the center of the gaussain
I hope someone can help.
Thanks,

답변 (2개)

Yongjian Feng
Yongjian Feng 2021년 8월 3일
Try to contact the auther of the fileexchange function first?
  댓글 수: 1
Z998567
Z998567 2021년 8월 3일
Thanks, I'll try to contact him

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


Matt J
Matt J 2021년 8월 3일
편집: Matt J 2021년 8월 3일
You could try this alternative gaussian fitting routine, and see if you get different results:
  댓글 수: 4
Z998567
Z998567 2021년 8월 3일
Thanks Matt, it works but I need to plot the fir as an image like the attachement. Is there away with this function.
Matt J
Matt J 2021년 8월 3일
Once you have the fitted parameters, you can plot it any way you wish.

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

Community Treasure Hunt

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

Start Hunting!

Translated by