Contenido principal

La traducción de esta página aún no se ha actualizado a la versión más reciente. Haga clic aquí para ver la última versión en inglés.

duplicateDisplays

Duplicate displays in Filter Analyzer app

Desde R2024a

Descripción

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 with the specified identification numbers dispnums, and returns a vector of identification numbers corresponding to the new displays.

ejemplo

Ejemplos

contraer todo

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

d1 = designfilt("bandpassiir", ...
    FilterOrder=6,StopbandAttenuation=55, ...
    StopbandFrequency1=0.35,StopbandFrequency2=0.7);
fa = filterAnalyzer(d1,FilterNames="BP", ...
    Analysis="magnitude",OverlayAnalysis="phase");

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

ndn = duplicateDisplays(fa);
setAnalysisOptions(fa,DisplayNums=ndn,NFFT=24)

Argumentos de entrada

contraer todo

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.

Ejemplo: [1 5]

Tipos de datos: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

Output Arguments

contraer todo

Identification numbers of new displays, returned as an integer or a vector of integers.

Historial de versiones

Introducido en R2024a