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.


Valid input arguments and values for specification object and method


OPTS = designopts(D,METHOD)


OPTS = designopts(D,METHOD) returns a structure array with the default design parameters used by the design method METHOD. METHOD must be one of the options returned by designmethods.

Use help(D,METHOD) to get a description of the design parameters.


collapse all

Create a 10th-order lowpass filter with a 3-dB frequency of 0.2π rad/sample. Obtain the default design parameters for a Butterworth design. Test whether the filter structure is a direct-form II biquad.

D = fdesign.lowpass('N,F3dB',10,0.2);
OPTS = designopts(D,'butter')
OPTS = struct with fields:
    FilterStructure: 'df2sos'
       SOSScaleNorm: ''
       SOSScaleOpts: [1x1 fdopts.sosscaling]
       SystemObject: 0

if (OPTS.FilterStructure == 'df2sos')
    fprintf('The default filter structure is Direct-Form II\n');
    fprintf('with second-order sections.\n');
The default filter structure is Direct-Form II
with second-order sections.

Introduced in R2009a

Was this topic helpful?