23 lines
493 B
Matlab
Executable File
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)));
|