Main Content


Duplicate displays in Filter Analyzer app

Since R2024a


newdispnums = duplicateDisplays(fa) duplicates the active display in the Filter Analyzer app fa and returns the identification number of the new display in newdispnums. The duplicate display has the same plotted filters and analysis options as the original.


newdispnums = duplicateDisplays(fa,DisplayNums=dispnums) duplicates the displays whose numbers are specified in dispnums and returns a vector of identification numbers corresponding to the new displays.


collapse all

Design a bandpass IIR filter and display its magnitude and phase responses in Filter Analyzer.

d1 = designfilt("bandpassiir", ...
    FilterOrder=6,StopbandAttenuation=55, ...
fa = filterAnalyzer(d1,FilterNames="BP", ...

Duplicate the display and update it to show the responses using 24 FFT points.

ndn = duplicateDisplays(fa);


Input Arguments

collapse all

Filter Analyzer app handle, specified as a filterAnalyzer object.

Display numbers, specified as an integer or a vector of integers. If you do not specify this argument, Filter Analyzer works on the active display. Use display identification numbers to target displays when using other Filter Analyzer functions. Identification numbers appear above the plotting area of the app, on the tabs that correspond to the different displays.

Example: [1 5]

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

Output Arguments

collapse all

Display identification numbers of newly created displays, returned as an integer or a vector of integers.

Version History

Introduced in R2024a