How to get simulated values for a polynomial given the coefficients.

1 回表示 (過去 30 日間)
JFz
JFz 2018 年 1 月 2 日
コメント済み: Star Strider 2018 年 1 月 2 日
Hi,
I need to simulation 1000 values out of a polynomial which I have the coefficients and errors. What is the best way to do that in Matlab. Is there a function already?
Thanks a lot.
  2 件のコメント
James Tursa
James Tursa 2018 年 1 月 2 日
Are you trying to generate a random sample set of polynomial coefficients given some type of error distribution of the coefficients? Or what?
JFz
JFz 2018 年 1 月 2 日
Thanks. I have the coeeficients of polynomial: a0 + a1*x + a2*x^2 + a3*x^3. I need to simulate 1000 polynomial values

サインインしてコメントする。

採用された回答

Star Strider
Star Strider 2018 年 1 月 2 日
I have no idea what you want to do.
If you want to evaluate your polynomial (represented by the coefficient vector) at a particular value of the variable, use the polyval (link) function.
  4 件のコメント
JFz
JFz 2018 年 1 月 2 日
Let me read....Thank you so much!
Star Strider
Star Strider 2018 年 1 月 2 日
My pleasure!
I will help as I can.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRegression についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by