view toolboxes/AudioInpaintingToolbox/Utils/wSine.m @ 218:c38d965b5a1d luisf_dev

Moved CVX_add_const_Audio_declipping.m from solvers to the examples/AudioInpainting folder.
author Aris Gretsistas <aris.gretsistas@eecs.qmul.ac.uk>
date Thu, 22 Mar 2012 15:37:45 +0000
parents 56d719a5fd31
children
line wrap: on
line source
function w = wSine(L)
% Symetric sine window with length L
%
% Usage:
%     w = wSine(L)
%
% Inputs:
%          - L - Window length
%
% Outputs:
%          - w - window
%
% -------------------
%
% Audio Inpainting toolbox
% Date: June 28, 2011
% By Valentin Emiya, Amir Adler, Maria Jafari
% This code is distributed under the terms of the GNU Public License version 3 (http://www.gnu.org/licenses/gpl.txt).

w = sin(((0:(L-1))+.5)/L*pi);
return