diff options
Diffstat (limited to 'texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Fouriercoeff.sci')
-rw-r--r-- | texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Fouriercoeff.sci | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Fouriercoeff.sci b/texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Fouriercoeff.sci deleted file mode 100644 index af259244..00000000 --- a/texmf-dist/scripts/ketcindy/ketlib/ketpic2escifiles6/Fouriercoeff.sci +++ /dev/null @@ -1,21 +0,0 @@ -// 09.03.13 - -function Out=Fouriercoeff(Fn,T,Ch,K) - Eps=10^(-5); - L=T/2; - Tmp1='Out=FUNC(x)'; - if Ch=='c' - Tmp2='Out=Fn(10*L*x)*cos('+string(K)+'*%pi*x*10)'; - else - Tmp2='Out=Fn(10*L*x)*sin('+string(K)+'*%pi*x*10)'; - end; - deff(Tmp1,Tmp2); - Out=10*intg(-0.1,0.1,FUNC); - if K==0 - Out=Out/2; - end; - if abs(Out)<Eps - Out=0; - end; -endfunction; - |