view toolboxes/AudioInpaintingToolbox/Utils/wRect.m @ 237:d4e792f5d382

Added tag ver_2.0_alpha1 for changeset 5f4e47b78f2b
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 19 Apr 2012 17:59:18 +0100
parents 56d719a5fd31
children
line wrap: on
line source
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