필터 지우기
필터 지우기

Finding coefficients of quadratic equation without Symbolic Toolbox.

조회 수: 2 (최근 30일)
Swasti Khuntia
Swasti Khuntia 2012년 9월 17일
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
Star Strider
Star Strider 2012년 9월 17일
Do you have the Optimization Toolbox or the Statistics Toolbox?
Are X and Y vectors or scalars?

댓글을 달려면 로그인하십시오.

답변 (1개)

José-Luis
José-Luis 2012년 9월 17일
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.

카테고리

Help CenterFile Exchange에서 Quadratic Programming and Cone Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by