view toolboxes/AudioInpaintingToolbox/Utils/wRect.m @ 193:cc540df790f4 danieleb

Simple example that demonstrated dictionary learning... to be completed
author Daniele Barchiesi <daniele.barchiesi@eecs.qmul.ac.uk>
date Fri, 09 Mar 2012 15:12:01 +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