comparison toolboxes/AudioInpaintingToolbox/Utils/wSine.m @ 138:56d719a5fd31 ivand_dev

Audio Inpaintin Toolbox
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Thu, 21 Jul 2011 14:27:47 +0100
parents
children
comparison
equal deleted inserted replaced
137:9207d56c5547 138:56d719a5fd31
1 function w = wSine(L)
2 % Symetric sine window with length L
3 %
4 % Usage:
5 % w = wSine(L)
6 %
7 % Inputs:
8 % - L - Window length
9 %
10 % Outputs:
11 % - w - window
12 %
13 % -------------------
14 %
15 % Audio Inpainting toolbox
16 % Date: June 28, 2011
17 % By Valentin Emiya, Amir Adler, Maria Jafari
18 % This code is distributed under the terms of the GNU Public License version 3 (http://www.gnu.org/licenses/gpl.txt).
19
20 w = sin(((0:(L-1))+.5)/L*pi);
21 return