lorentzfit(x,y,vara​rgin)

LORENTZFIT fits a single- or multi-parameter Lorentzian function to data

Download
Download

You are now following this Submission

Cite As

Jered Wells (2026). lorentzfit(x,y,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/33775-lorentzfit-x-y-varargin), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.7.0

Provides the Jacobian output by lsqcurvefit

Download
1.6.0

Added stopping thresholds for fitting based on magnitude of input data.

Download
1.5.0

Added OPTIONS to the LSQCURVEFIT routine.

Download
1.4.0

Better identified default functionality in help file

Download
1.3.0

Included option to select one, two, or three parameter Lorentzian model with or without constant parameter.
Improved documentation
Provided two additional outputs from LSQCURVEFIT: RESNORM and RESIDUAL.

Download
1.2.0

Documentation updated to match MATLAB standard for help file
H1 line has been included
Error checking included
Outputs modified for easier use

Download
1.1.0

Cleaned up description

Download
1.0.0

Download