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