Finding domain and range with polyfit/polyval
5 次查看(过去 30 天)
显示 更早的评论
I have coefficients to an 17th order polynomial that fits my data well. When I zoom into the graph from y=0 to y=15 this is what I see. I want MatLab to tell me the time it takes the top curve to go from y=0 to y=15.
Someone told me to use polyval(coef,15) - polyval(coef,0) But that gave me 5.9235e+09 when it should be something like 3.8 seconds.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!