Multiple curve fitting with common parameters using NLINFIT

Wrapper for NLINFIT which allows simultaneous fitting for multiple data sets with shared parameters.

You are now following this Submission

This function allows you to simultaneously fit multiple data sets (for example noisy measurements) with multiple models, which share some (or all) of the fitting parameters.
Unlike difference approaches using fminsearch (or similar functions), this submission wraps around NLINFIT and thus allows immediate estimation of confidence intervals on data predictions and fitted parameters.

Cite As

Chen (2026). Multiple curve fitting with common parameters using NLINFIT (https://nl.mathworks.com/matlabcentral/fileexchange/40613-multiple-curve-fitting-with-common-parameters-using-nlinfit), 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.1.0.0

Updated: 1) Allow use to specify a cell array of weights vectors/functions, similarly to NLINFIT itself. 2) When a weights cell array is not provided by the user, the NLINMULTIFIT will create one by itself to give equal weight to all data sets.
Updated: 1) Allow use to specify a cell array of weights vectors/functions, similarly to NLINFIT itself. 2) When a weights cell array is not provided by the user, the NLINMULTIFIT will create one by itself to give equal weight to all data sets.

1.0.0.0