Files
matlab/common/window/winhamm.m
T
2022-06-30 13:32:40 +02:00

23 lines
493 B
Matlab
Executable File

% Hamming Window
% ------------------------------------
%
% Aufruf:
% Function [y]=whamm(x)
%
% Parameter:
%
% Rückgabewerte:
% -------------------------------------------------------------------------
% Datum : ..2001
% Autor : Jens Ahrensfeld
% Thema : Diplomarbeit
% Datei : newfunc.m
% Benötigte Dateien:
%
% -------------------------------------------------------------------------
function y=winhamm(x)
n = 0:lge(x)-1;
y = x.*(0.54-0.46*cos(2*pi*n/(lge(x)-1)));