How to applied 2d gaussian function

6 ビュー (過去 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