Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

maxflat

Maxflat FIR filter

Syntax

hd = design(d,'maxflat')
hd = design(d,'maxflat','FilterStructure',structure)

Description

hd = design(d,'maxflat') designs a maximally flat filter, hd, from a filter specification object, d.

hd = design(d,'maxflat','FilterStructure',structure) designs a maximally flat filter where structure is one of the following:

  • 'dffir', a discrete-time, direct-form FIR filter (the default value)

  • 'dffirt', a discrete-time, direct-form FIR transposed filter

  • 'dfsymfir', a discrete-time, direct-form symmetric FIR filter

  • 'fftfir', a discrete-time, overlap-add, FIR filter

Examples

Example 1: Design a lowpass filter with a maximally flat FIR structure.

d  = fdesign.lowpass('N,F3dB', 50, 0.3);
Hd = design(d, 'maxflat');

Example 2: Design a highpass filter with a maximally flat overlap-add FIR structure.

d  = fdesign.highpass('N,F3dB', 50, 0.7);
Hd=design(d,'maxflat','FilterStructure','fftfir');

Introduced in R2011a

Was this topic helpful?