Quantcast
Channel: MATLAB Central Newsreader - tag:"optimization"
Viewing all articles
Browse latest Browse all 130

Re: Solve constrained overdetermined equations

$
0
0
"WeiAn" wrote in message <o22efv$jgu$1@newscl01ah.mathworks.com>...

> When I use lsqlin to solve this optimisation problem, it shows the all x(i)=1, and the convergence is satisfied.
>
> How should I do? lsqlin doesnot have the tolerance setting.

What do you want to do??? lsqlin returns rightly the best solution, meaning minimize |A*x-b|, with the given constraints.

You can't tell MATLAB solve a pb and expect getting something else.

Viewing all articles
Browse latest Browse all 130

Trending Articles