How to get the Coeffcient value?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi!
I have the following polynomial: y = 3*x^2 + 2*x + 4;
Generally, we apply the value of 'x' and get the value of y. Is it possible or how to get the 'x' if i give a certain value of 'y'?
Its obvious to have a range of values for 'x'.
Please advise.
댓글 수: 0
채택된 답변
Andrei Bobrov
2013년 7월 15일
y = 4;
xout = roots([3,2,4 - y])
댓글 수: 2
Andrei Bobrov
2013년 7월 16일
편집: Andrei Bobrov
2013년 7월 16일
This is solution of the equation y = 3*x^2 + 2*x + 4, here y = 4, i.e.
3*x^2 +2*x + 4 - y = 0
coefficients c of the polynomial:
c = [ 3, 2, 4 - y ]
and him solution
xsol = roots(c) or xsol = roots([ 3, 2, 4 - y ])
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Polynomials에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!