Re: solving 10 equations with 10 unknown
- From: "Steven Lord" <slord@xxxxxxxxxxxxx>
- Date: Thu, 18 Oct 2007 09:36:52 -0400
"Randy Poe" <poespam-trap@xxxxxxxxx> wrote in message
news:1192713319.429250.7200@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Oct 18, 7:24 am, "neema mor" <neema_...@xxxxxxxxx> wrote:
Hi
could you please help me to solve 10 equations with 10
unknown of the form
2a^3+3b^2+2c+12=340
5a^3+6b^2+7c+24=234
like this,10 equations with 10 unknowns.The above
equations are just sample only.Equations are of degree of
10 with 10 unknown.So how can solve these equations with
matlab?
If you have the Optimization Toolbox, try FSOLVE.
Otherwise, you might try adapting FMINSEARCH,
for instance by minimizing the function
(left-side - right-side)^2
If there is a solution, this function will have a
value of 0 at that solution.
In the OP's example, the left hand sides of both equations are formed of
linear combinations of a^3, b^2, c, and a constant. To the OP: are all your
equations like that (i.e. the only place a appears is in a^3, the only place
b appears is in b^2, etc)? If so, you have a set of linear equations that
you can solve using backslash (substitute m = a^3, n = b^2, etc. and the
equations are linear in m, n, etc.) -- search the documentation for
"multiple regression". You'll find a hit in the Data Analysis manual.
--
Steve Lord
slord@xxxxxxxxxxxxx
.
- References:
- solving 10 equations with 10 unknown
- From: neema mor
- Re: solving 10 equations with 10 unknown
- From: Randy Poe
- solving 10 equations with 10 unknown
- Prev by Date: Re: Starting MATLAB engine from Visual C++ 2003
- Next by Date: Re: maxRGB
- Previous by thread: Re: solving 10 equations with 10 unknown
- Next by thread: Re: solving 10 equations with 10 unknown
- Index(es):
Relevant Pages
|