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!