主要内容

Manage and Analyze Filters

As part of your filter design workflow in the Filter Designer app, you can analyze the filter response and assess whether the filter parameters meet your design requirements.

  • Manage Filters — Use the Filters table, the Parameters panel, and the Filter Information table to manage the filters you import or creat.

  • Analyze Filters — Use the options under the Analysis tab to analyze digital filters by showing their responses in displays.

  • Set Display Options — Use the options under the Display Options tab to customize the displays.

Once you complete this step, you can Design Filters to further modify the filter design, or Export and Share Filters to complete the filter design session.

Manage Filters

Select a filter from the Filters Table to duplicate, rename, delete, change line color, show or hide response, show or hide data cursor, view the filter parameters, and view filter information.

  • Duplicate, rename, or delete filters — Right-click the row corresponding to the selected filter on the Filters table and choose the Duplicate, Rename or Delete option.

  • Change line color — To change the line color of a filter, click the corresponding color bar in the Line column of the Filters table and select a color. You can choose a standard color or specify a custom color.

  • Show or hide response — To show or hide the response of a filter in the active display, toggle the corresponding eye icon in the Eye column of the Filters table.

  • Show or hide data cursor — To show or hide the data cursor of a filter in the active display, toggle the corresponding data cursor icon in the Cursor column of the Filters table. To switch between one or two cursors, hover over the Cursor column. To move a data cursor once it appears in the active display, select the data cursor and drag it along the x-axis.

  • View filter parameters — To view the editable parameters of a filter, expand the Parameters panel and expand each section within the panel. For more information about adjusting the design of a filter using the Parameters panel, see Edit Filter Parameters.

  • View filter information — To view the specification information of a filter, expand the Filter Information table. The filter information includes the structure, phase, stability, and design specifications. For more information, see Filter Information Table.

    Tip

    You can also view the filter information in a display. On the Analysis tab, select Filter Information in the Analysis gallery.

Analyze Filters

Use the options under the Analysis toolstrip tab to set up the base analysis response, optionally add an overlaid (secondary) analysis response, change analysis options, and manage displays.

  • Set base analysis response to display — When you import or create a digital filter for the first time in a new session, the app plots the magnitude response in a new display. To change the base analysis response, choose an option from the Analysis pane in the Analysis gallery.

    • Frequency-domain analyses — Magnitude, phase, group delay, and phase delay

    • Time-domain analyses — Impulse and step

    • Other analyses — Pole-zero plot, filter coefficient table, and filter information table

  • Add overlaid analysis response to display — To add a secondary analysis response that overlays the base analysis on a display, choose an option from the Overlay Analysis pane in the Analysis gallery. For frequency-domain and time-domain analyses, you can add an overlaid analysis in the same domain.

  • Set Analysis Options — Set the frequency normalization method, analysis sample rate, and analysis-based options to adjust the axes in the display on which the analysis is being plotted. For more information, see Analysis Options.

  • Manage displays — Add displays to better compare your filter designs in different layouts and sizes.

    Filter Designer assigns a number to each new or duplicated display in sequential order. Each display has its own number, including a closed display. The app selects the display you most recently interacted with as the active display.

    • To duplicate the active display, click Duplicate Display.

    • To create a blank display, click New Display.

    • To copy the active display to the clipboard, click Copy Display. Alternatively, right-click the plotting area in the active display and select Copy Display to Clipboard.

    • To close a display, click Close next to the display name.

    • To close all displays or close all displays except the active display, right-click the tab bar above the display environment and select the corresponding option.

    • To relocate a display, drag its tab to the desired location.

    • To reorganize the display layout, right-click the tab bar of the display environment and select an option. Available options include maximize, restore, create a tab of displays (sub-tile), create a tiled layout of displays (tile all), set tab bar position, and sort displays by number (alphabetize).

    • To restore the display layout to default settings, click Default Layout. This option arranges all displays into a single tile while preserving the analysis plots and options within each display.

Set Display Options

Show or hide the legend, grid, data cursors, spectral mask, CTF sections, quantization-based reference filters, and polyphase sections in the active display. To set any of these options, navigate to the Display Options toolstrip tab, and select any of these:

  • Legend — Show or hide the legend in the active display or in all displays.

  • Grid — Show or hide the grid in the active display or in all displays.

  • Hide Cursors — Hide the data cursors in the active display or in all displays.

    To show the data cursors after you hide them, select the Cursor icons that correspond to the filters of interest in the Filters table. For more information, see Manage Filters.

  • Mask — Show or hide the spectral mask(s) to overlay a filter magnitude response in the active display. You can show a specification-based mask, a user-defined mask, or both.

  • CTF View — Show or hide the responses of the CTF sections in an IIR filter in the active display. You can show the responses of each CTF section, the cumulative CTF sections, or from a user-defined list of CTF sections.

  • Reference Filters — Show or hide the double-precision (reference) responses for quantized filters in the active display.

  • Polyphase View — Show or hide the responses of each polyphase section of multirate filters in the active display.

See Also

Apps

Functions

Live Editor Tasks

Topics