Rank: 1157 based on 117 downloads (last 30 days) and 2 files submitted
photo

Gero Nootz

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Gero Nootz View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Jun 2013 Screenshot Drag Line in GUI Lines in the GUI can be dragged Author: Gero Nootz demo, gui, callback function, drag 15 0
12 Jun 2012 Screenshot Fit 2D gaussian function to data Fits a 2D Gaussian function to simulated data. Author: Gero Nootz lsqcurvefit, demo, image processing, measurement 102 3
  • 5.0
5.0 | 5 ratings
Comments and Ratings by Gero Nootz
Updated File Comments Rating
25 Jun 2013 Tektronix wfm file reader Converts TDS5000/6000/7000 and DPO7000/70000 series .wfm files to ASCII Author: Randy White

Comments and Ratings on Gero Nootz's Files View all
Updated File Comment by Comments Rating
11 Dec 2014 Fit 2D gaussian function to data Fits a 2D Gaussian function to simulated data. Author: Gero Nootz Nathan Neff-Mallon

Jan Simon's criticism is misplaced, only minor changes are needed to plot real data. If you have a regular grid of points, all you must do is:
change line 29 to the appropriate initial guesses
change line 30 to xs=x0;
change line 31 to noise=0;
change line 38 to [X,Y] = meshgrid(x,y);
where x and y a vectors with your x an y axis points
change line 47 to Z = zdata;
where zdata is a length(x) by length(y) matrix with the data you wish to fit such that zdata(i,j)=z(x_i,y_j).
Line 48 should be commented out.

If your grid points are not regular, you must set up the X, Y, and Z matrices so that they are all the same size and element i of X, Y and Z all correspond to the point (X(i),Y(i),Z(i)). There might be additional restrictions on the size and shape (I think it must be a matrix and not an array), but I'm not certain.

At any rate, thank you very much Gero. This is very helpful. :)

04 Mar 2014 Fit 2D gaussian function to data Fits a 2D Gaussian function to simulated data. Author: Gero Nootz Leo

27 Feb 2014 Fit 2D gaussian function to data Fits a 2D Gaussian function to simulated data. Author: Gero Nootz xavier

03 Feb 2014 Fit 2D gaussian function to data Fits a 2D Gaussian function to simulated data. Author: Gero Nootz Gaszton

29 Jul 2013 Fit 2D gaussian function to data Fits a 2D Gaussian function to simulated data. Author: Gero Nootz Jan Simon

What a pity that this is a script, which generates the data by a random function. Before it can be used for real problems, substantial changes are required.

It would increase the usability, if the calculations are move to a function and separated from the generation of test data.

Contact us