1
function H=transferfunction(g,L)
3
%@deftypefn {Function} transferfunction
5
%TRANSFERFUNCTION The transferfunction of a filter
6
% Usage: H=transferfunction(g,L);
8
% TRANSFERFUNCTION(g,L) computes the transferfunction of length L*
9
% of the filter defined by g.
12
%@strong{Url}: @url{http://ltfat.github.io/doc/sigproc/transferfunction.html}
16
% Copyright (C) 2005-2015 Peter L. Soendergaard <peter@sonderport.dk>.
17
% This file is part of LTFAT version 2.1.0
19
% This program is free software: you can redistribute it and/or modify
20
% it under the terms of the GNU General Public License as published by
21
% the Free Software Foundation, either version 3 of the License, or
22
% (at your option) any later version.
24
% This program is distributed in the hope that it will be useful,
25
% but WITHOUT ANY WARRANTY; without even the implied warranty of
26
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27
% GNU General Public License for more details.
29
% You should have received a copy of the GNU General Public License
30
% along with this program. If not, see <http://www.gnu.org/licenses/>.
32
error(nargchk(2,2,nargin));
34
[g,info] = comp_fourierwindow(g,L,upper(mfilename));
36
H=comp_transferfunction(g,L);