大神给我解释一下下面这些Matlab泰勒公式的用法
大神给我解释一下下面这些Matlab泰勒公式的用法
taylor(f) computes the Taylor series expansion of f up to the fifth order.The expansion point is 0.taylor(f,Name,Value) uses additional options specified by one or more Name,Value pair arguments.taylor(f,v) computes the Taylor series expansion of f with respect to v.taylor(f,v,Name,Value) uses additional options specified by one or more Name,Value pair arguments.taylor(f,v,a) computes the Taylor series expansion of f with respect to v around the expansion point a.taylor(f,v,a,Name,Value) uses additional options specified by one or more Name,Value pair arguments.http://www.mathworks.cn/cn/help/symbolic/taylor.html#inputarg_v
这些是泰勒公式的一般用法:
taylor(f)就是展开到5阶,展开点在x=0;
taylor(f,v,a)就是对函数f的变量v进行展开,到5阶,展开点在v=a;
taylor(f,v)就是对函数f的变量v进行展开,到5阶,展开点在v=0;taylor(f,Name,Value)
taylor(f,v,Name,Value)
那这几个呢