(2) K \ F will give the solution vector x that has the minimum number of nonzero elements.
I learned about these 2 solutions from Mr. Cleve Moler's article "The world smallest impossible problem". I think you can get it in Mathworks website. Very good article.
Greg Heath <email@example.com> wrote in message <firstname.lastname@example.org>... > On Mar 28, 11:23 am, "Kevin" <kh...@fake.com> wrote: > > There is another option. If for whatever reason, you don't like the solution from "K\F", then try this > > > > pinv(K)*F. > > > > I believe this will give you a different answer for x but the residual error would still be small. In this case the vector x contains the minimum number of nonzero entries. > > On the contrary. In order to obtain the minimum norm > solution, all elements must be nonzero. > > On the other hand, the backslash solution will tend to have > the maximum number of zero elements. > > Hope this helps. > > Greg