Rank: 3151 based on 43 downloads (last 30 days) and 1 file submitted
photo

Chen

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Chen
Updated   File Tags Downloads
(last 30 days)
Comments Rating
04 Mar 2013 Screenshot Multiple curve fitting with common parameters using NLINFIT Wrapper for NLINFIT which allows simultaneous fitting for multiple data sets with shared parameters. Author: Chen fitting, multiple, nonlinear, simultaneous, confidence interval 43 4
  • 5.0
5.0 | 1 rating
Comments and Ratings by Chen View all
Updated File Comments Rating
19 Sep 2013 Multiple curve fitting with common parameters using NLINFIT Wrapper for NLINFIT which allows simultaneous fitting for multiple data sets with shared parameters. Author: Chen

You are always free to do the wrapping manually, yourself. I found that I routinely need to perform this task of multiple fitting, and was tired of writing code every time for different models, and came up with this solution. I hope it will help and save time to others as it did for me.

19 Sep 2013 Multiple curve fitting with common parameters using NLINFIT Wrapper for NLINFIT which allows simultaneous fitting for multiple data sets with shared parameters. Author: Chen

Matt: I don't understand how a for-loop would enable you to fit multiple data sets with COMMON estimation parameters.

29 Jan 2011 ODE Progress Bar and Interrupt ODE integration progress bar, interrupt control and estimated time to completion Author: Tim Franklin

Thank you for a very useful program.

However, there is a small "bug": the drawnow call should not be placed outside the if-else blocks of the main function. This causes significant computational overhead, despite the author's intention to avoid it by limiting the "refresh" to once in 0.5 seconds.

Comments and Ratings on Chen's Files View all
Updated File Comment by Comments Rating
19 Feb 2014 Multiple curve fitting with common parameters using NLINFIT Wrapper for NLINFIT which allows simultaneous fitting for multiple data sets with shared parameters. Author: Chen Kevin

19 Sep 2013 Multiple curve fitting with common parameters using NLINFIT Wrapper for NLINFIT which allows simultaneous fitting for multiple data sets with shared parameters. Author: Chen Chen

You are always free to do the wrapping manually, yourself. I found that I routinely need to perform this task of multiple fitting, and was tired of writing code every time for different models, and came up with this solution. I hope it will help and save time to others as it did for me.

19 Sep 2013 Multiple curve fitting with common parameters using NLINFIT Wrapper for NLINFIT which allows simultaneous fitting for multiple data sets with shared parameters. Author: Chen Matt J

OK, sorry, I didn't see that the parameters were shared.

I wonder, though, why it wouldn't be better to just manually write an mfile for the combined modelfun, instead of auto-wrapping several separate anonymous model functions into one big anonymous function?

You obviously don't intend this for wrapping a large number of model functions and data sets. The nesting of many anonymous functions would make it very slow. Conversely, for a small number of data sets, manually wrapping the problems together should be pretty easy.

19 Sep 2013 Multiple curve fitting with common parameters using NLINFIT Wrapper for NLINFIT which allows simultaneous fitting for multiple data sets with shared parameters. Author: Chen Chen

Matt: I don't understand how a for-loop would enable you to fit multiple data sets with COMMON estimation parameters.

19 Sep 2013 Multiple curve fitting with common parameters using NLINFIT Wrapper for NLINFIT which allows simultaneous fitting for multiple data sets with shared parameters. Author: Chen Matt J

I would be surprised if this were faster than a for-loop. If I'm wrong, it might be worthwhile to add some demo files showing the advantage of the wrapping.

Contact us