正在加载图片...
Advanced Mathematics(5/34) Fitting Curves to Data The function polyval will evaluate a polynomial p at x;the form is polyval(p,x). For example:the polynomial -2x2+x+4 is evaluated at x=3, which yields -2 9+3+4,or-11: >>p=[-2141: >polyval (p,3) ans >polyval(p,1:3) -11 ans= 3 -2 -11 The argument x can be a vector. >polyval(p,[5 7]) ans= AW -41 -87 同濟大学 TONGJIUNIVERSITY Advanced Mathematics(5/34) Fitting Curves to Data The argument x can be a vector
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有