How to solve an equation with two variables but one variable is an array?
Show older comments
Hi, I'm still relatively new to coding, and I have a question about solving a quadratic equation, then using the results to graph using semilogx. I have a quadratic equation with two variables, one of which I'm solving for and the other an array of values. More specifically, I'm solving for L and one of the coefficients is 1/(1+x) but x goes from 0 to 10^10 and I need to find the roots for every value of x on intervals of 100. I then need to plug the answer from the equation into another equation, and graph x vs that answer. I tried syms and roots, but I keep getting errors. Any tips? Thank you!
2 Comments
David Hill
on 14 Apr 2020
If you provide all the equations, I will likely be able to help you.
Chuqi Zheng
on 14 Apr 2020
Accepted Answer
More Answers (0)
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!