Mercurial > hg > smallbox
annotate toolboxes/AudioInpaintingToolbox/Utils/wRect.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 |
rev | line source |
---|---|
ivan@138 | 1 function w = wRect(L) |
ivan@138 | 2 % This code is distributed under the terms of the GNU Public License version 3 (http://www.gnu.org/licenses/gpl.txt). |
ivan@138 | 3 % rectangular window with length L |
ivan@138 | 4 % |
ivan@138 | 5 % Usage: |
ivan@138 | 6 % w = wRect(L) |
ivan@138 | 7 % |
ivan@138 | 8 % Inputs: |
ivan@138 | 9 % - L - window length |
ivan@138 | 10 % |
ivan@138 | 11 % Outputs: |
ivan@138 | 12 % - w - window |
ivan@138 | 13 % |
ivan@138 | 14 % ------------------- |
ivan@138 | 15 % |
ivan@138 | 16 % Audio Inpainting toolbox |
ivan@138 | 17 % Date: June 28, 2011 |
ivan@138 | 18 % By Valentin Emiya, Amir Adler, Maria Jafari |
ivan@138 | 19 w = ones(1,L); |
ivan@138 | 20 return |