How to get simulated values for a polynomial given the coefficients.
1 次查看(过去 30 天)
显示 更早的评论
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
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?
采纳的回答
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 个评论
更多回答(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!