This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

isStandardCompliant

Verify filter design is IEC 61672-1:2002 compliant

Syntax

complianceStatus = isStandardCompliant(weightFilt,classType)
complianceStatus = isStandardCompliant(___,freqRange)

Description

example

complianceStatus = isStandardCompliant(weightFilt,classType) returns a logical scalar, complianceStatus, indicating whether the weightFilt filter design is compliant with the minimum and maximum attenuation specifications for the classType design specified in IEC 61672-1:2002. You can check compliance for A-weighting and C-weighting filters only.

example

complianceStatus = isStandardCompliant(___,freqRange) specifies the range of frequencies checked for compliance.

Examples

collapse all

Create an object of the weightingFilter System object™. Call isStandardCompliant, specifying the compliance class type to check as the second argument.

weightFilt = weightingFilter;
complianceStatus = isStandardCompliant(weightFilt,'class 1')

Create an object of the weightingFilter System object™. Check the 'class 2' compliance status of the filter design over a specified frequency range.

weightFilt = weightingFilter;
isStandardCompliant(weightFilt,'class 2',[120,2000])

Input Arguments

collapse all

Object of the weightingFilter System object™.

Compliance class type to verify, specified as 'class 1 or 'class 2'.

Data Types: char

Specify the frequency range, in Hz, checked for compliance as a two-element vector of increasing values: [minFreq,maxFreq].

Data Types: single | double

Output Arguments

collapse all

Compliance status of filter design, returned as a logical scalar. The compliance status indicates whether the weightFilt filter design is compliant with the minimum and maximum attenuation specifications for the class type design specified by IEC 61672-1:2002 standard. Compliance can only be checked for A-weighting and C-weighting filters.

Data Types: logical

Note

The pole-zero values defined in the ANSI S1.42-2001 standard are used for designing the A-weighted and C-weighted filters. The pole-zero values are based on analog filters, so the design can break compliance for lower sample rates.

Introduced in R2016b