Visualize and validate filter response
visualize( plots the
magnitude response of the frequency-weighted filter
The plot is updated automatically when properties of the object change.
N-point FFT to calculate the magnitude response.
a mask based on the class of filter specified by
either of the previous syntaxes.
returns a handle to the visualizer as a
hvsz = visualize(___)
dsp.DynamicFilterVisualizer object when called with any of the
Plot Weighting Filter Magnitude Response
weightingFilter System object™ and then plot the magnitude response of the filter.
weightFilt = weightingFilter; visualize(weightFilt)
Specify Number of Frequency Bins in FFT Calculation
weightingFilter System object™. Plot a 1024-point frequency representation.
weightFilt = weightingFilter; visualize(weightFilt,1024)
Visualize Class 2 Standard-Compliance Mask
weightingFilter System object™. Visualize the class 2 compliance of the filter design.
weightFilt = weightingFilter; visualize(weightFilt,'class 2')
weightFilt — Object of
Object of the
N — Number of DFT bins
2048 | positive scalar
Number of DFT bins in frequency-domain representation, specified as a
positive scalar. The default is
mType — Type of mask
'class 1' (default) |
Type of mask, specified as
'class 1' or
The mask attenuation limits are defined in the IEC 61672-1:2002 standard. The mask is defined for A-weighting and C-weighting filters only.
If the mask is green, the design is compliant with the IEC 61672-1:2002 standard.
If the mask is red, the design breaks compliance.
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