Main Content

visualize

Visualize magnitude response of crossover filter

Description

visualize(crossFilt) plots the magnitude response of the crossoverFilter. The plot is updated automatically when properties of the object change.

example

visualize(crossFilt,NFFT) specifies an N-point FFT used to calculate the magnitude response.

hvsz = visualize(___) returns a handle to the visualizer as a dsp.DynamicFilterVisualizer object when called with any of the previous syntaxes.

Examples

collapse all

Create a crossoverFilter object, and then call visualize to plot the magnitude response of the filter.

crossFilt = crossoverFilter;
visualize(crossFilt)

Modify the crossover frequency and observe that the plot is updated automatically.

crossFilt.CrossoverFrequencies = 500;

Input Arguments

collapse all

Crossover filter whose magnitude response you want to plot.

Number of bins used to calculate the DFT, specified as a positive scalar.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

Version History

Introduced in R2016a