Main Content

deleteDisplays

Delete displays from Filter Analyzer app

Since R2024a

Description

example

deleteDisplays(fa) removes the active display from the Filter Analyzer app fa.

deleteDisplays(fa,DisplayNums=dispnums) removes the displays whose numbers are specified in dispnums.

Examples

collapse all

Design a lowpass filter. Start Filter Analyzer app. The default display analyzes the filter magnitude response.

d = designfilt("lowpassfir", ...
    PassbandFrequency=0.45,StopbandFrequency=0.55);
fa = filterAnalyzer(d);

Add one display to analyze group delay and remove the magnitude-response display.

dispNum = addDisplays(fa,Analysis="polezero",FilterNames="d");
deleteDisplays(fa,DisplayNums=1)

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 removes 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

Version History

Introduced in R2024a