Simple parameters fit for rotated 2D gaussian plot

版本 1.3 (6.7 KB) 作者: Mathieu NOE
A small demo to fit 2D gaussian data - No Toolbox required
28.0 次下载
更新时间 2023/12/22

查看许可证

A small demo how to use some matlab code to obtain the equation parameters of a rotated 2D gaussian curve.
No need for any toolbox (for guys like me) - the output may not be as accurate with more advanced codes available in the Curve Fitting /Optimization Tbx (or Fex submissions using them)
Created with R2020b
version : 1.3
Version 1.3 is simpler, faster and does not require anymore tricontour.m and getContourLineCoordinates.m
date : 2023/12/22
Credits :
we need some functions from the File Exchange forum (Fex) to make it work
Functions needed for V1.3 and above
Other Functions needed only for V1.2 and below (obsolete) :

引用格式

Mathieu NOE (2025). Simple parameters fit for rotated 2D gaussian plot (https://ww2.mathworks.cn/matlabcentral/fileexchange/156667-simple-parameters-fit-for-rotated-2d-gaussian-plot), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2020b
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.3

Simplified and faster code (no need anymore for tricontour.m and getContourLineCoordinates.m)

1.2

Version 1.2 is now a function + demo file + a modified tricontour function (hence the provided tricontour_mod function in the zip). The difference with V1.1 is simply that tricontour_mod has a few lines commented to avoid an internal call to patch to

1.1

version 1.1 is now a function + demo file

1.0.0