-
Notifications
You must be signed in to change notification settings - Fork 0
/
psin.m
36 lines (25 loc) · 928 Bytes
/
psin.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
28
29
30
31
32
33
34
35
36
% /*! @psin.m
% *************************************************************************
% <PRE>
% file.name : psin.m
% related files :
% function&ablity : Taylor expansion
% 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 = psin(a)
f = a-a^3/6+a^5/120-a^7/5040;