help with equation substituting
1 view (last 30 days)
Show older comments
mohamed
on 10 Mar 2016
Commented: Walter Roberson
on 12 Mar 2016
hi i want to substitute in an equation that has 2 variables (q) and (pwf), given that the user has to input several values for (pwf) to substitute into the equation and solve for (q)
Thank you
0 Comments
Accepted Answer
Walter Roberson
on 10 Mar 2016
Example:
new_pwf = rand();
new_equation = subs(TheEquation, pwf, new_pwf);
sol = solve(new_equation, q)
4 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!