Solving two equations with two unknowns

hey
I'm trying to solve 2 equations with 2 unknowns using MATLAB
the equations are:
Q1=(q1max*K1*C1(i))/(1+(K1*C1(i))+(K2*C2(i)))
Q2=(q2max*K2*C2(i))/(1+(K1*C1(i))+(K2*C2(i)))
the constants to determine are: K1 and K2?
the data are:
C1=[0 4.67 11.68 14.75 15.398 31.02 81.89 ];
C2=[0 14.61 21.07 57.52 86.77 136.16 186.49];
q1max=189.8;
q2max=638.4;
please I need your help

Answers (1)

You cannot index an array at the imaginary constant, i, sqrt(-1) . In MATLAB, "i" is the imaginary constant unless you change it.
If you were to assign a different value to i, an index in the range 1 to 7, and solve, then you would get the answer K1=0 and K2=0 if your notation above for Q1 and Q2 is assignment. If Q1 and Q2 are known non-zero values instead, then there are non-trivial solutions.

Categories

Find more on Mathematics in Help Center and File Exchange

Tags

Asked:

on 26 Jan 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!