- added
git-svn-id: http://moon:8086/svn/matlab/trunk@153 801c6759-fa7c-4059-a304-17956f83a07c
This commit is contained in:
Executable
+27
@@ -0,0 +1,27 @@
|
||||
% Erzeugt Filterkoeffizienten für FIR-Filter zur Eliminierung des Gleichanteils
|
||||
% -----------------------------------------------------------------------------
|
||||
%
|
||||
% Aufruf
|
||||
% Function [coeff] = undcc(N)
|
||||
%
|
||||
% Parameter:
|
||||
% N : Bestimmt Grösse des Koeffizientenvektors
|
||||
%
|
||||
% Rückgabewerte:
|
||||
% coeff : Koeffizientenvektor, Länge N
|
||||
|
||||
% -----------------------------------------------------------------------------
|
||||
% Datum : 26.07.2001
|
||||
% Autor : Jens Ahrensfeld
|
||||
% Thema : Diplomarbeit
|
||||
% Datei : undcc.m
|
||||
% Benötigte Dateien:
|
||||
%
|
||||
% -----------------------------------------------------------------------------
|
||||
function [coeff] = undcc(N)
|
||||
|
||||
% Ansatz: y = x - arith. Mittelwert(x)
|
||||
coeff = [1.0-1/N ; -1/N*ones(N-1,1)];
|
||||
|
||||
% -----------------------------------------------------------------------------
|
||||
% Ende undcc.m
|
||||
Reference in New Issue
Block a user