diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/toolboxes/AudioInpaintingToolbox/Utils/wSine.m	Thu Jul 21 14:27:47 2011 +0100
@@ -0,0 +1,21 @@
+function w = wSine(L)
+% Symetric sine window with length L
+%
+% Usage:
+%     w = wSine(L)
+%
+% Inputs:
+%          - L - Window length
+%
+% Outputs:
+%          - w - window
+%
+% -------------------
+%
+% Audio Inpainting toolbox
+% Date: June 28, 2011
+% By Valentin Emiya, Amir Adler, Maria Jafari
+% This code is distributed under the terms of the GNU Public License version 3 (http://www.gnu.org/licenses/gpl.txt).
+
+w = sin(((0:(L-1))+.5)/L*pi);
+return