Partial solution for linear system

1 view (last 30 days)
endeavour90
endeavour90 on 8 Apr 2012
Hi,
I would to solve overdetermined linear system Ax = b, where A is (mxn) matrix (m > n), b is (mx1) vector, hence x is (mx1) vector. I am not interested in the least square solution,but I am interested in partial solution to the problem. What I mean by partial solution is how many components of x that I can get.
Let say A = [1 0 0; 0 1 1; 0 0 0], b is [ 1 4 4], A is singular but I can obtain the value of first component, which is 1. I would like to know is there an efficient and stable for this problem in matlab.
Currently, my solution is to do rref(A), then check row by row whether it has only one non zero value or not.
Thank you

Answers (0)

Categories

Find more on Linear Algebra 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!