I am trying to solve two equations with two unknowns in MATLAB, given a matrix of values to solve for.
For example, My flowrate is Q = 0:5:80
The two equations are:
1) Q = Q1 + Q2 (Easy equation)
Equation 2 is long. What I need to do though, without writing out the equation in longform, is to keep Q1 and Q2 as variables, instead of defining them as something.
For example: f6 is a function of Re... which along with V6 is a function of Q2. I do not know what Q2 is since I am trying to solve for it.. Similarily the same thing with Q3.
How can I define Re, V6, f6, etc... so I can use them in the equation 2 above and solve for Q2 and Q3?
This sounds totally confusing and I apologize.
Thanks for your help!