Simple parameters fit for rotated 2D gaussian plot

Version 1.3 (6,67 KB) von Mathieu NOE
A small demo to fit 2D gaussian data - No Toolbox required
22 Downloads
Aktualisiert 22. Dez 2023

Lizenz anzeigen

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) :

Zitieren als

Mathieu NOE (2024). Simple parameters fit for rotated 2D gaussian plot (https://www.mathworks.com/matlabcentral/fileexchange/156667-simple-parameters-fit-for-rotated-2d-gaussian-plot), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2020b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Tags Tags hinzufügen

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
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