>>p=poly([1 2 3 4]); >>polyvalm(p,8) ans= 840
>>vec=(-20:2:20) >>vec=linspace(-20,20,21)
在sin(x)运算中,x是弧度,MATLAB规定所有的三角函数运算都是按弧度进行运算。