Mercurial > hg > smallbox
comparison toolboxes/AudioInpaintingToolbox/Utils/wSine.m @ 144:19e0af570914 release_1.5
Merge from branch "ivand_dev"
author | Ivan <ivan.damnjanovic@eecs.qmul.ac.uk> |
---|---|
date | Tue, 26 Jul 2011 15:14:15 +0100 |
parents | 56d719a5fd31 |
children |
comparison
equal
deleted
inserted
replaced
143:8d866d96f006 | 144:19e0af570914 |
---|---|
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 |