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.

designmethods

Methods available for designing filter from specification object

Syntax

M = designmethods(D)
M = designmethods(D,'default')
M = designmethods(D,TYPE)
M = designmethods(D,'full')

Description

M = designmethods(D) returns the available design methods for the filter specification object, D.

M = designmethods(D,'default') returns the default design method for the filter specification object D.

M = designmethods(D,TYPE) returns the TYPE design methods that apply to D. TYPE can be either 'FIR' or 'IIR'.

M = designmethods(D,'full') returns the full name for each of the available design methods. For example, designmethods with the 'full' argument returns Butterworth for the butter method.

Examples

collapse all

Construct a lowpass filter specification object and determine the valid design methods.

D = fdesign.lowpass('Fp,Fst,Ap,Ast',500,600,0.5,60,1e4);
M = designmethods(D)
M = 8×1 cell array
    'butter'
    'cheby1'
    'cheby2'
    'ellip'
    'equiripple'
    'ifir'
    'kaiserwin'
    'multistage'

Introduced in R2009a

Was this topic helpful?