![]() It might be, that I misunderstand something at a very basic level. I taught myself how to work with Mathematica using the incredibly detailed and well designed documentation of Mathematica. I have to stress, that to this point I have never learned how fitting to nonlinear data generally works. Which is obviously no good, considering the highest value in my data-list is 38635 and therefore bigger than A. If plotted, the quite significant peak at the right end is what I am interested in.įor example I used the function FindFit with the following parameters: FindFit, ![]() The attachment contains some data as an example. Sometimes the gaussian is centered around a very small, insignificant peak in my dataset but most frequently the height of the peak is way too small. I tired several options including "FindFit" and "NonlinearModelFit" but the resulting function not even remotely resembles the curve of the original data. Currently I'd like to fit a gaussian function to my dataset. The Lorentzian function has Fourier transform. Mathematica Notebook Technology Technologies Wolfram Notebook Technology File Extensions and MIME Types Wolfram Notebooks are structured interactive documents that may contain text, graphics, sound, calculations, typeset expressions, and user interface elements. I am using Mathematica for some time now for evaluating experimental data for my practical physics course but I always had problems with fitting nonlinear functions to data. The Lorentzian function gives the shape of certain types of spectral lines and is the distribution function in the Cauchy distribution.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |