-
Notifications
You must be signed in to change notification settings - Fork 0
/
ptan.m
27 lines (25 loc) · 917 Bytes
/
ptan.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
% /*! @ptan.m
% *************************************************************************
% <PRE>
% file.name : ptan.m
% related files :
% function&ablity : Taylor spread
% author : gaodengwei
% version : 1.00
% --------------------------------------------------------------------------------
% remarks :
% --------------------------------------------------------------------------------
% record of modify :
% date version name content
% 2016/3/14 1.00 build
% </PRE>
% ********************************************************************************
%
% * right(c)
%
% *************************************************************************
% input :
% output:
% *************************************************************************
function f = ptan(a)
f = 1-a^2/2+a^4/24;%-a^6/720+a^8/40320;