|
|
| File Information |
| Description |
New users and old of optimization in MATLAB will find useful tips and tricks in this document, as well as examples one can use as templates for their own problems.
Use this tool by editing the file optimtips.m, then execute blocks of code in cell mode from the editor, or best, publish the file to HTML. Copy and paste also works of course.
Some readers may find this tool valuable if only for the function pleas - a partitioned least squares solver based on lsqnonlin.
This is a work in progress, as I fully expect to add new topics as I think of them or as suggestions are made. Suggestions for topics I've missed are welcome, as are corrections of my probable numerous errors. The topics currently covered are listed below.
Contents
1. Linear regression basics in matlab
2. Polynomial regression models
3. Weighted regression models
4. Robust estimation
5. Ridge regression
6. Transforming a nonlinear problem to linearity
7. Sums of exponentials
8. Poor starting values
9. Before you have a problem
10. Tolerances & stopping criteria
11. Common optimization problems & mistakes
12. Partitioned least squares estimation
13. Errors in variables regression
14. Passing extra information/variables into an optimization
15. Minimizing the sum of absolute deviations
16. Minimize the maximum absolute deviation
17. Batching small problems into large problems
18. Global solutions & domains of attraction
19. Bound constrained problems
20. Inclusive versus exclusive bound constraints
21. Mixed integer/discrete problems
22. Understanding how they work
23. Wrapping an optimizer around quad
24. Graphical tools for understanding sets of nonlinear equations
25. Optimizing non-smooth or stochastic functions
26. Linear equality constraints
27. Sums of squares surfaces and the geometry of a regression
28. Confidence limits on a regression model
29. Confidence limits on the parameters in a nonlinear regression
30. Quadprog example, unrounding a curve
31. R^2
32. Estimation of the parameters of an implicit function
33. Robust fitting schemes
34. Homotopies
35. Orthogonal polynomial regression
36. Potential topics to be added or expanded in the (near) future |
| Acknowledgements |
This submission has inspired the following:
RMSEARCH, Fminspleas
|
| Required Products |
Optimization Toolbox
|
| MATLAB release |
MATLAB 7.0.1 (R14SP1)
|
| Other requirements |
Users of older releases of matlab may still find this
document useful to read although they will not be
able to execute much of the code because of the
heavy use of anonymous functions. |
| Zip File Content |
|
| Other Files |
license.txt, opt_reg_tips/.DS_Store, opt_reg_tips/consolidator.m, opt_reg_tips/expfitfun3.m, opt_reg_tips/expfitfun4.m, opt_reg_tips/fminsearchbnd.m, opt_reg_tips/implicit_obj.m, opt_reg_tips/optimplot.m, opt_reg_tips/optimtips.m, opt_reg_tips/optimtips_0_20.m, opt_reg_tips/optimtips_21_36.m, opt_reg_tips/pleas.m, opt_reg_tips/ReadMe.m, opt_reg_tips/testnestfun.m
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (43) |
| 05 Oct 2005 |
Kaushik b
|
|
|
| 31 Oct 2005 |
Anthony Clark
|
|
|
| 03 Nov 2005 |
21st Jocobi
|
|
|
| 06 Dec 2005 |
Peter Krug
|
|
|
| 21 Feb 2006 |
Taghi Miri
|
|
|
| 03 May 2006 |
Wang Qiwen
|
|
|
| 08 May 2006 |
sione palu
|
|
|
| 14 May 2006 |
Sung SOo Kim
|
|
|
| 27 May 2006 |
thank you
|
|
|
| 03 Jun 2006 |
Suman Banerjee
|
|
|
| 27 Jul 2006 |
Tie Ling
|
|
|
| 28 Jul 2006 |
Dar Madi
|
|
|
| 31 Jul 2006 |
Abdimaged Mussa
|
|
|
| 20 Nov 2006 |
wilmer salazar trujillo
|
|
|
| 05 Dec 2006 |
kimi raikkonen
|
|
|
| 28 Dec 2006 |
Garrett Barter
|
|
|
| 03 Jan 2007 |
Vishnuvenkatesh Dhage
|
|
|
| 10 Jan 2007 |
thank you
|
|
|
| 10 Jan 2007 |
John D'Errico
|
|
|
| 08 Feb 2007 |
Jorge Martinez
|
|
|
| 13 Mar 2007 |
felix prasad
|
|
|
| 07 Apr 2007 |
Nair SUBRA
|
|
|
| 12 Jun 2007 |
ponthep veng
|
|
|
| 02 Jul 2007 |
Hua Yang
|
|
|
| 12 Jul 2007 |
Varun Sakalkar
|
|
|
| 09 Aug 2007 |
hippo man
|
|
|
| 07 Sep 2007 |
Sergei Koulayev
|
|
|
| 10 Oct 2007 |
zuduo zheng
|
|
|
| 20 Nov 2007 |
b q
|
|
|
| 06 Dec 2007 |
Annamnaidu S
|
|
|
| 28 Jan 2008 |
Björn Wurst
|
|
|
| 12 Feb 2008 |
TULISHETTI SRINIVAS
|
|
|
| 26 Mar 2008 |
pravin katre
|
|
|
| 14 May 2008 |
Adnèn Troudi
|
|
|
| 01 Jun 2008 |
jugmendra singh
|
|
|
| 21 Sep 2008 |
A B
|
|
|
| 23 Sep 2008 |
Ida Westerberg
|
|
|
| 22 Jan 2009 |
Ben Steiner
|
|
|
| 22 Jan 2009 |
Ben Steiner
|
|
|
| 03 Feb 2009 |
Eric
|
|
|
| 17 Mar 2009 |
Jan Gläscher
|
|
|
| 23 Sep 2009 |
Shaun
|
|
|
| 14 Oct 2009 |
Danila
|
|
|
| Updates |
| 13 Dec 2005 |
Six new topics have been added, some existing
topics expanded. Added titles and axis labels for all
plots, etc. |
| 07 Dec 2006 |
Add 5 new sections, other repairs |
|
MATLAB Central Terms of Use
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.
Contact us at files@mathworks.com