view toolboxes/AudioInpaintingToolbox/Utils/wRect.m @ 247:ecce33192fcc tip

Added tag ver_2.1 for changeset cef4500b936f
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 31 Oct 2012 12:24:44 +0000
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