How to solve system of nonlinear equations (A-x1)*x2=B?

A and x1 are 300*1 vectors, x2 is a 1*2000 vector, B is a 300*2000 sparse matrix.
(A-x1)*x2=B
we know A, B, then how can we calculate both vector x1 and x2?

Answers (1)

Choose x1_i (1<=i<=300) arbitrarily and x2_j = b_ij/(a_i-x1_i) (1<=j<=2000).
Best wishes
Torsten.

2 Comments

Thanks Torsten, can I calculate x1 and x2 at the same time? actually, x1 is a noisy vector which I cannot anticipate how does it look like, and I am expecting to get it as well.
As I already posted, there are infinitly many solutions for x1 and x2 that satisfy your above equations.
If you prescribe x1, then x2 is uniquely determined.
Best wishes
Torsten.

Sign in to comment.

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 8 Jun 2015

Commented:

on 8 Jun 2015

Community Treasure Hunt

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

Start Hunting!