lagrange
Filtre à retard fractionnaire défini par l’objet de spécification fdesign.fracdelay
Syntaxe
Hd = design(d,'lagrange')
hd = design(d,'lagrange',FilterStructure,structure)
Description
Hd = design(d,'lagrange') crée un filtre à retard fractionnaire avec la méthode de Lagrange en fonction des spécifications de d.
hd = design(d,'lagrange',FilterStructure, spécifie la méthode de design de Lagrange et la structure de filtre structure)structure pour hd. La seule structure de filtre valide est fd, qui décrit la structure du retard fractionnaire.
Exemples
Cet exemple utilise un retard fractionnaire de 0,30 échantillon. Les commandes help et designopts donnent des précisions sur le design de filtres à retard fractionnaire.
d=fdesign.fracdelay(.30)
d =
Response: 'Fractional Delay'
Specification: 'N'
Description: {'Filter Order'}
FracDelay: 0.3
NormalizedFrequency: true
FilterOrder: 3
designmethods(d)
Design Methods for class fdesign.fracdelay (N):
lagrange
help(d,'lagrange')
DESIGN Design a Lagrange fractional delay filter.
HD = DESIGN(D, 'lagrange') designs a Lagrange filter specified by the
FDESIGN object D, and returns the DFILT object HD.
HD = DESIGN(..., 'FilterStructure', STRUCTURE) returns a filter with the
structure STRUCTURE. STRUCTURE is 'farrowfd' by default and can be any of
the following:
'farrowfd'
'fd'
% Example #1 - Design a linear Lagrange fractional delay filter of 0.2 samples.
h = fdesign.fracdelay(0.2,'N',2);
Hd = design(h, 'lagrange', 'FilterStructure', 'farrowfd')
% Example #2 - Design a cubic Lagrange fractional delay filter
Fs = 8000; % Sampling frequency of 8kHz
fdelay = 50e-6; % Fractional delay of 50 microseconds.
h = fdesign.fracdelay(fdelay,'N',3,Fs);
Hd = design(h, 'lagrange', 'FilterStructure', 'farrowfd');Cet exemple crée un filtre à retard fractionnaire de Lagrange linéaire pour lequel le retard est défini à 0,2 seconde et l’ordre du filtre N est défini à 2.
h = fdesign.fracdelay(0.2,'N',2); hd = design(h,'lagrange','FilterStructure','farrowfd')
Créez un filtre à retard fractionnaire de Lagrange cubique en définissant l’ordre du filtre à 3.
Fs = 8000; % Sampling frequency of 8 kHz. fdelay = 50e-6; % Fractional delay of 50 microseconds. h = fdesign.fracdelay(fdelay,'N',3,Fs); hd = design(h,'lagrange','FilterStructure','farrowfd');
Références
Laakso, T. I., V. Välimäki, M. Karjalainen et Unto K. Laine, « Splitting the Unit Delay - Tools for Fractional Delay Filter Design » (Fractionner le retard unitaire : outils de design de filtres à retard fractionnaire), IEEE® Signal Processing Magazine, vol. 13, n° 1, pp. 30-60, janvier 1996.
Historique des versions
Introduit dans R2011a
Voir aussi
design | designmethods | designopts | fdesign | fdesign.fracdelay