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

1 view (last 30 days)
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)

Torsten
Torsten on 8 Jun 2015
Choose x1_i (1<=i<=300) arbitrarily and x2_j = b_ij/(a_i-x1_i) (1<=j<=2000).
Best wishes
Torsten.
  2 Comments
Wanda Love
Wanda Love on 8 Jun 2015
Edited: Wanda Love on 8 Jun 2015
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.
Torsten
Torsten on 8 Jun 2015
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 Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!