visualize

Visualize magnitude response of crossover filter

Description

example

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

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

Examples

collapse all

Create an object of the 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

Introduced in R2016a