Re: solution to undetermined equation
- From: Greg Heath <heath@xxxxxxxxxxxxxxxx>
- Date: Fri, 30 Nov 2007 07:12:09 -0800 (PST)
On Nov 30, 4:52 am, "Shama " <shammashah...@xxxxxxxxx> wrote:
i have a set of undetermined linear equations with
unknowns 13 and set of equation=3
my equation formulates as
Ax=min
with the constraint that the sum of unknowns equals the
number of unknowns in my case x1+.....x13=13
is it possible in matlab
I assume you mean
1. Given A with size(A) = [3 13]
2. Find x such that
||A*x|| = min
subject to
sum(x) = 13.
Is that correct?
If you have the Optimization or Genetic Toolbox,
check the documentation(fmincon in the Opt Tbx comes to
mind).
Otherwise you could loop over the 13 variables:
Use the constraint to eliminate xi and obtain the
minimum right singular vector of the corresponding
Ai with size [3 12].
Finally, choose the solution that minimizes ||Ax||.
Hope this helps.
Greg
.
- References:
- solution to undetermined equation
- From: Shama
- solution to undetermined equation
- Prev by Date: Re: Is this kind of regression possible?
- Next by Date: Re: How to test for randomness??
- Previous by thread: Re: solution to undetermined equation
- Next by thread: How to Format Exported Data?
- Index(es):
Relevant Pages
|