Effacer les filtres
Effacer les filtres

Please expalin the error

2 vues (au cours des 30 derniers jours)
dav
dav le 15 Mar 2013
I am using the following code in a simulation program
x= lsqlin(C,d,A,b,Aeq,beq,lb,ub,x0,options)
When I use lb = [0.01 0.01] ' and ub = [0.98 0.98] ' I get the results I need.
However, when I use lb = [0.00001 0.00001] ' and ub = [0.99998 0.99998] ', the results I get are way off from the results I got earlier.
I there something wrong?
Thanks
  1 commentaire
Walter Roberson
Walter Roberson le 15 Mar 2013
please read the guide to tags and retag this question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags

Connectez-vous pour commenter.

Réponses (1)

Matt J
Matt J le 15 Mar 2013
Modifié(e) : Matt J le 15 Mar 2013
What you describe doesn't suggest anything is wrong, per se. You are minimizing over a larger region, so obviously the minimizer can change.
  3 commentaires
dav
dav le 15 Mar 2013
Thanks. Do you have any suggestions?
Matt J
Matt J le 15 Mar 2013
As I said, I don't think that anything is wrong.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Get Started with Optimization Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by