Re: solving 10 equations with 10 unknown




"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


.



Relevant Pages

  • Re: Linear regression
    ... you should examine the residuals (observed errors) to ... validate the iid assumptions. ... By couplings I mean some unknown relations between the columns. ... between "linear indepdence" and stochastic ...
    (sci.stat.math)
  • Overdetermined mixed linear/quadratic system - least squares problem
    ... I have a system of k linear and m quadratic equations in d unknown ... A least square solution is required in this case. ... If the system were purely linear, ...
    (sci.math)
  • Re: Detecting a waveform at arbitrary positions and scales
    ... what practical algorithm can be used to detect A*rin a given ... input signal x, where A, B, and C are unknown? ... This is the inverse problem. ... if ris linear then the solution ...
    (comp.dsp)
  • Re: ? best approx of matrix of a linear sys
    ... If one has a matrix, rather that a linear function, then one has the ... standard basis of column matrix vectors with a single entry of 1 and ... The matrix A is unknown. ...
    (sci.math)
  • Re: solving 10 equations with 10 unknown
    ... unknown of the form ... If you have the Optimization Toolbox, try FSOLVE. ... Otherwise, you might try adapting FMINSEARCH, ... for instance by minimizing the function ...
    (comp.soft-sys.matlab)