Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Rapid PHP 2018 15.5
IBDAC 6.4
Online Course Booking Script 1.3.3
Database Workbench Pro 5.6.4
Job Portal Script 1.3.2
The C# PDF Library 5.2
PostgreSQL Data Access Components 6.0
Virtual Data Access Components 11.0
HTMLPad 2018 15.5
WeBuilder 2018 15.5
SentiMask SDK Trial 2.0.0
Track Order For Magento 2 1.0.0
Calendar 365 For Dynamics CRM 4.0
Scimbo 1.2
Odoo Furnito Theme 1.0
Top Code
PostgreSQL Data Access Components 4.4
Database Workbench Pro 5.6.4
Availability Booking Calendar PHP 1.0
Online Course Booking Script 3.04
ATN Site Builder 3.0
ATN Resume Finder 2.0
PHP Review Script 1.0
IBDAC 6.4
ICPennyBid Penny Auction Script 4.0
Invoice Manager by PHPJabbers 3.0
The C# PDF Library 1.0
Rapid PHP 2018 15.5
HTMLPad 2018 15.5
Classified Ad Lister 1.0
Azizi search engine script PHP 4.1.10
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
lorentzian fit 1.0
File ID: 82991






lorentzian fit 1.0
Download lorentzian fit 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 8
Submit Rating:
lorentzian fit 1.0 Description
Description: On the gaussian fit i used "polyfit" which gives you en absolut one solution, but have some problems fitting non-linear model.

In the attached file example i use "nlinfit", which can fit any kind of function that you want. the problem is that you need to give here a starting point.

"main.m" include the example code to use nlinfit.

"data.txt" is data (x,y) that needed to be fitted.

"fun.m" is the function to be fitted, in you case it's lorentzian.

License: Shareware

Related: lorentzian, fit, Scripts

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 8



More Similar Code

CSS customizations can be applied to the calendar to fit any web design scheme.

This plugin forms the basis for the jQuery UI Datepicker. It is made available as a separate plugin since the UI team desired simplified functionality for their version.



This is a robust and accurate circle fit. It works well even if data
points are observed only within a small arc. This circle fit was
proposed by G. Taubin in article "Estimation Of Planar Curves, Surfaces And Nonplanar Space Curves...



This is a fast non-iterative ellipse fit, and among fast non-iterative ellipse fits this is the most accurate and robust.

It takes the xy-coordinates of data points, and returns the coefficients of the equation of the ellipse:



This is a fast and non-iterative ellipse fit.
Usage:

A = EllipseDirectFit(XY)

Input: XY(n,2) is the array of coordinates of n points
x(i)=XY(i,1), y(i)=XY(i,2)

Output: A = [a b c d e f]' is the vector...



How to fit a 2D Gaussian function to noisy data in Matlab? Or data with another number of dimensions and arbitrary fit function?

It took me a while to find out how Matlab does this by the functions lsqcurvefit, fmincon or fminsearch....



Simple example of the use of the FMINSEARCH function to fit the blackbody equation to the emission spectrum of an incandescent body for the purpose of estimating its color temperature and emissivity. fitblackbody.m is the fitting function....



Fits an ellipsoid into a 3D set of points, allows some constraints, like orientation constraint and equal radii constraint. E.g., you can use it to fit a rugby ball, or a sphere. 'help ellipsoid_fit' says it all. Returns both the algebraic...



This is a little script that adds several Gaussian or Lorentzian functions with the appropriate full width at half max and height to generate and plot a spectrum. The input is an array containing frequency vs oscillator strength, desired fwhm of...



This is a robust and accurate circle fit. It works well even if data
points are observed only within a small arc. This circle fit was proposed by V. Pratt in article "Direct least-squares fitting of algebraic surfaces", Computer...



Well, i made this function some time ago and its purpose was to fit the Universe of the Greek stock market. After having grabbed my information to some matrices, vectors, god knows what, i decided to use it to price interest rate derivatives! I...

User Review for lorentzian fit
- required fields
     

Please enter text on the image