Mercurial > hg > smallbox
annotate toolboxes/AudioInpaintingToolbox/Utils/wSine.m @ 139:4bd6856a7128 ivand_dev
ompGabor mex version debuged and tested
author | Ivan <ivan.damnjanovic@eecs.qmul.ac.uk> |
---|---|
date | Thu, 21 Jul 2011 16:37:14 +0100 |
parents | 56d719a5fd31 |
children |
rev | line source |
---|---|
ivan@138 | 1 function w = wSine(L) |
ivan@138 | 2 % Symetric sine window with length L |
ivan@138 | 3 % |
ivan@138 | 4 % Usage: |
ivan@138 | 5 % w = wSine(L) |
ivan@138 | 6 % |
ivan@138 | 7 % Inputs: |
ivan@138 | 8 % - L - Window length |
ivan@138 | 9 % |
ivan@138 | 10 % Outputs: |
ivan@138 | 11 % - w - window |
ivan@138 | 12 % |
ivan@138 | 13 % ------------------- |
ivan@138 | 14 % |
ivan@138 | 15 % Audio Inpainting toolbox |
ivan@138 | 16 % Date: June 28, 2011 |
ivan@138 | 17 % By Valentin Emiya, Amir Adler, Maria Jafari |
ivan@138 | 18 % This code is distributed under the terms of the GNU Public License version 3 (http://www.gnu.org/licenses/gpl.txt). |
ivan@138 | 19 |
ivan@138 | 20 w = sin(((0:(L-1))+.5)/L*pi); |
ivan@138 | 21 return |