- refactored

This commit is contained in:
2022-06-30 13:32:40 +02:00
parent 77cd5261b1
commit 776932e5d1
144 changed files with 0 additions and 38 deletions
+22
View File
@@ -0,0 +1,22 @@
% 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)));