Finding coefficients of quadratic equation without Symbolic Toolbox.

10 Ansichten (letzte 30 Tage)
Swasti Khuntia
Swasti Khuntia am 17 Sep. 2012
I have an equation in the form X = Y/(Y + A + BY + CY^2), where X and Y are known. I need to find out the coefficients A, B and C. And, I don't have the Symbolic Toolbox. I tried it using the polyfit function but was unsuccessful. I have a matrix from where I can extract the values for X and Y.
Any suggestions??
Thanks
  1 Kommentar
Star Strider
Star Strider am 17 Sep. 2012
Do you have the Optimization Toolbox or the Statistics Toolbox?
Are X and Y vectors or scalars?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

José-Luis
José-Luis am 17 Sep. 2012
You don't really need the symbolic toolbox for that. For instance, one of the solutions will always be a = y/x, b = -1 and c = 0. If you need more solutions then you just plug in whatever you want to two of the three coefficients and calculate the last one.

Community Treasure Hunt

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

Start Hunting!

Translated by