How to get simulated values for a polynomial given the coefficients.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
James Tursa
le 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?
Réponse acceptée
Star Strider
le 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Polynomials dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!