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

1 Ansicht (letzte 30 Tage)
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 Kommentare
James Tursa
James Tursa am 2 Jan. 2018
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 am 2 Jan. 2018
Thanks. I have the coeeficients of polynomial: a0 + a1*x + a2*x^2 + a3*x^3. I need to simulate 1000 polynomial values

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Star Strider
Star Strider am 2 Jan. 2018
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 Kommentare
JFz
JFz am 2 Jan. 2018
Let me read....Thank you so much!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by