필터 지우기
필터 지우기

Please expalin the error

조회 수: 2 (최근 30일)
dav
dav 2013년 3월 15일
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개)

Matt J
Matt J 2013년 3월 15일
편집: Matt J 2013년 3월 15일
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
dav
dav 2013년 3월 15일
Thanks. Do you have any suggestions?
Matt J
Matt J 2013년 3월 15일
As I said, I don't think that anything is wrong.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by