Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Solving for Unknowns in Equations
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!
0 · ·