(Non)-linear system of equation, overdetermined

  • Follow


Hello all, I have to solve a system of linear equations, with a particular condition.

My system is in the classical form:

A*x=b

By the way I want that norm(x)=1.

So, I've thought, if I add to matrix A a final row x' I will obtain my condition, I explain in MATLAB code:

newA=[A;x']; newB=[b;1];

newA*x=newB

At this point I'm in the case that I've more equations than unknowns.

I can easily solve this problem with fmincon or other sort of non-linear solutor.
The problem is that now I have to invert newA (with pinv) which contains unknowns.

I was wondering if exists a more straigth forward method (maybe involving symbolic toolbox?) to avoid the use of a non-linear solutor of the problem.

Any hint?

Thank you.
0
Reply Luca 5/12/2010 1:10:21 PM

I've tried to look about linprog or lsqlin, but seems that there is no way to find solution to this problem in this way.
0
Reply Luca 5/12/2010 2:07:04 PM


Please see this thread:

http://www.mathworks.com/matlabcentral/newsreader/view_thread/263115

Bruno
0
Reply Bruno 5/12/2010 2:38:04 PM

"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <hseegc$lt0$1@fred.mathworks.com>...
> Please see this thread:
> 
> http://www.mathworks.com/matlabcentral/newsreader/view_thread/263115
> 
> Bruno

Thank you so much! I've tried to look in previous posts before I've posted, but I didn't find this one. Thank you very much.
0
Reply Luca 5/12/2010 2:51:04 PM

3 Replies
379 Views

(page loaded in 0.213 seconds)

Similiar Articles:













7/24/2012 8:54:00 AM


Reply: