Skip to Main Content Skip to Search
Product Documentation

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, and the current value of the Specification property.

Here are all the design methods and the filters they produce.

M= designmethods(D,'default') returns the default design method for the filter specification object D and the current value of the Specification property.

M= designmethods(D,TYPE) returns either 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

Construct a lowpass filter specification object and determine the valid design methods. Obtain detailed command line help on the Chebyshev type I design method.

D =fdesign.lowpass('Fp,Fst,Ap,Ast',500,600,0.5,60,1e4);
M = designmethods(D)
help(D,M{2})

The last line of the example is equivalent to help(D,'cheby1').

See Also

design | designopts | fdesign

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS