Rank: 111 based on 407 downloads (last 30 days) and 24 files submitted
photo

Miroslav Balda

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Miroslav View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
30 Dec 2011 deal2 - Multiple assignment The function deal2 is an extension of the function deal. Author: Miroslav Balda multiple assignment 5 0
20 Dec 2011 Screenshot LMFnlsq - Solution of nonlinear least squares Efficient and stable Levenberg-Marquard-Fletcher method for solving of nonlinear equations Author: Miroslav Balda optimization, fletcher, marquardt, levenberg, least squares, fig and separator 124 21
  • 4.4
4.4 | 17 ratings
26 Feb 2009 Open and close a job The couple of functions frees user from a dull work on file handling. Author: Miroslav Balda data import, data export, measurement 4 0
26 Feb 2009 Multiple assignment The function arg2vars enables to assign more items to a list of variables Author: Miroslav Balda general, programming, data handling 2 2
11 Feb 2009 Screenshot LMFsolve.m: Levenberg-Marquardt-Fletcher algorithm for nonlinear least squares problems LMFsolve.m finds least-squares solution of an overdetermined system of nonlinear equations Author: Miroslav Balda optimization, levenberg, fletcher, marquardt, overdetermined, nonlinear least squar... 117 11
  • 4.25
4.2 | 9 ratings
Comments and Ratings by Miroslav View all
Updated File Comments Rating
14 Dec 2011 LMFnlsq - Solution of nonlinear least squares Efficient and stable Levenberg-Marquard-Fletcher method for solving of nonlinear equations Author: Miroslav Balda

@ David:
I thank you for thorough testing of my function LMFnlsq. You have found that 5 functions of the highest difficulty out of total 27 failed. It is true only partially. They failed only for the most bad initial estimates of the solution. The good solution has been obtained with the more close estimate for all above examples but Bennett5. In this case only one digit of sum of squares was valid, however, when sum of squares dropped by 8 orders! All those results have been obtained with embedded function for finite difference Jacobian matrix estimates, what strongly diminishes precission of results. Only analytical Jacobian matrix ensures top result. I am affraid that you also used finite difference approximates.

The NIST collection of testing problems is only a recommendation for software authors. In contrary to your opinion, I am satisfied by the results I have obtained. Especially, after testing a less difficult problem Hahn1, which converged for both estimates of the solution, while the function lsqcurvefit from the Optimization Toolbox (OT) did not find any solution. Would you evaluate it also by one star? Not me, because OT is much better. However, my function is smaler and takes fewer iterations to solve the problem. This is the reason, why I regard your evaluation as a bad joke.
One star means: "withdraw your function from FEX!". I will not obey your evaluation, because there are hundreds and may be thousands of people who downloaded and successfully applied my function for solving their problems. Some of them gave the function the top evaluation, even that I never did not declare it as an "industry standard".

12 Oct 2009 LMFnlsq - Solution of nonlinear least squares Efficient and stable Levenberg-Marquard-Fletcher method for solving of nonlinear equations Author: Miroslav Balda

Read my answer dated 04 jun 2009. I'll answer you later by e-mail.

04 Jun 2009 LMFnlsq - Solution of nonlinear least squares Efficient and stable Levenberg-Marquard-Fletcher method for solving of nonlinear equations Author: Miroslav Balda

This part of the submission is intended for Comments and Ratings. More over, I pleased anybody to write me by e-mail on errors and improvements, see the section Other requirements. This is the reason why I'll not communicate here anymore.

28 Feb 2009 Multiple assignment The function arg2vars enables to assign more items to a list of variables Author: Miroslav Balda

I am sorry that I have not known that the function deal exist. I always learn something new. BTW, the last example may be simplified on the right hand side of assignment by arg2vars([]).

11 Feb 2009 LMFsolve.m: Levenberg-Marquardt-Fletcher algorithm for nonlinear least squares problems LMFsolve.m finds least-squares solution of an overdetermined system of nonlinear equations Author: Miroslav Balda

To Judith. What is wrong with your computer is difficult to find from your message. If you used the script LMFsolvetest, which is a part of the zipped file, you would get the solution. The stability has been reached in this case by a careful selection of optional parameters. It is written in the description, that the code is not perfectly stable and that it is better to use the function LMFnlsq (See the comment dated 06 Dec 2007).
If you try the old version (LMFsolveOLD), you would get also the answer. The solution of the problems could be solved much easier, if you read the last sentence in the section "Other requirements".

Comments and Ratings on Miroslav's Files View all
Updated File Comment by Comments Rating
02 Jan 2012 LMFnlsq - Solution of nonlinear least squares Efficient and stable Levenberg-Marquard-Fletcher method for solving of nonlinear equations Author: Miroslav Balda Sadik

I thank you so much for providing this code. Implementation has its own challenges but your code worked like a charm to show how beautifully theory and practice meet. With good initial estimates, the algorithm converged in only a few iterations.

FYI: I used it for T1 estimation in MR where the equations in our case were much more complicated than single exponential recovery equations.

Thanks.

17 Dec 2011 LMFnlsq - Solution of nonlinear least squares Efficient and stable Levenberg-Marquard-Fletcher method for solving of nonlinear equations Author: Miroslav Balda Shayan

Man thank you so much, it was amazing!

14 Dec 2011 LMFnlsq - Solution of nonlinear least squares Efficient and stable Levenberg-Marquard-Fletcher method for solving of nonlinear equations Author: Miroslav Balda Zhang, David

@Miroslav:

I was using analytical Jacobian. I also will not obey your evaluation that a failed lsqcurvefit does not deserve a 1 star. The NIST solutions are tested using different methods (hence the standard deviation is also available), so failing even one of them means there are codes out there that performs better, even using the poor starting condition.

Furthermore, 3 of the 5 failure cases are observed data. They are not some cooked up example designed to cause the optimization to fail. Therefore, if used in real world examples, there is a possibility that it will not work. I am simply letting everybody know a caveat cantor that the program solution should be treated with a grain of salt, even if the sum of squares dropped by 8 orders. Although as the website says, passing all tests is not a pre-requisite to be a good optimization software, but don't you think not passing the tests from an agency that establishes industry standards would not be considered as "industry standard"?

I admit giving it 1 star is too aggressive. I do this to get your attention to respond. Indeed it worked. Unfortunately I can't go back and change it. Because this program works for all easy to intermediate difficulty problems, it deserves a 4 star.

14 Dec 2011 LMFnlsq - Solution of nonlinear least squares Efficient and stable Levenberg-Marquard-Fletcher method for solving of nonlinear equations Author: Miroslav Balda Balda, Miroslav

@ David:
I thank you for thorough testing of my function LMFnlsq. You have found that 5 functions of the highest difficulty out of total 27 failed. It is true only partially. They failed only for the most bad initial estimates of the solution. The good solution has been obtained with the more close estimate for all above examples but Bennett5. In this case only one digit of sum of squares was valid, however, when sum of squares dropped by 8 orders! All those results have been obtained with embedded function for finite difference Jacobian matrix estimates, what strongly diminishes precission of results. Only analytical Jacobian matrix ensures top result. I am affraid that you also used finite difference approximates.

The NIST collection of testing problems is only a recommendation for software authors. In contrary to your opinion, I am satisfied by the results I have obtained. Especially, after testing a less difficult problem Hahn1, which converged for both estimates of the solution, while the function lsqcurvefit from the Optimization Toolbox (OT) did not find any solution. Would you evaluate it also by one star? Not me, because OT is much better. However, my function is smaler and takes fewer iterations to solve the problem. This is the reason, why I regard your evaluation as a bad joke.
One star means: "withdraw your function from FEX!". I will not obey your evaluation, because there are hundreds and may be thousands of people who downloaded and successfully applied my function for solving their problems. Some of them gave the function the top evaluation, even that I never did not declare it as an "industry standard".

02 Dec 2011 LMFnlsq - Solution of nonlinear least squares Efficient and stable Levenberg-Marquard-Fletcher method for solving of nonlinear equations Author: Miroslav Balda Zhang, David

By the way, the failures occurs in

MGH17
BoxBOD
MGH10
Eckerle4
Bennett5

Top Tags Applied by Miroslav
utilities, files, path, directories, general
Files Tagged by Miroslav View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
30 Dec 2011 deal2 - Multiple assignment The function deal2 is an extension of the function deal. Author: Miroslav Balda multiple assignment 5 0
20 Dec 2011 Screenshot LMFnlsq - Solution of nonlinear least squares Efficient and stable Levenberg-Marquard-Fletcher method for solving of nonlinear equations Author: Miroslav Balda optimization, fletcher, marquardt, levenberg, least squares, fig and separator 124 21
  • 4.4
4.4 | 17 ratings
26 Feb 2009 Open and close a job The couple of functions frees user from a dull work on file handling. Author: Miroslav Balda data import, data export, measurement 4 0
26 Feb 2009 Multiple assignment The function arg2vars enables to assign more items to a list of variables Author: Miroslav Balda general, programming, data handling 2 2
11 Feb 2009 Screenshot LMFsolve.m: Levenberg-Marquardt-Fletcher algorithm for nonlinear least squares problems LMFsolve.m finds least-squares solution of an overdetermined system of nonlinear equations Author: Miroslav Balda optimization, levenberg, fletcher, marquardt, overdetermined, nonlinear least squar... 117 11
  • 4.25
4.2 | 9 ratings

Contact us at files@mathworks.com