DSP Blockset    

Displaying Signals in the Time-Domain

The Vector Scope block can display both time-domain and frequency-domain data. It differs from the Spectrum Scope in that it does not compute the FFT of inputs.

Example: Displaying Time-Domain Data

In the model below, two frame-based signals are simultaneously displayed on the scope.

To create the model, first load the mtlb signal:

Specify the following parameter values in the Signal From Workspace block:

Specify the following parameter values in the Digital Filter Design block:

Specify the following parameter values in the Scope properties pane of the Vector Scope block:

When you run the model, the Vector Scope block plots two consecutive frames of each channel at each update. You may want to set the Stop time in the Simulation Parameters dialog box to inf to allow the simulation to run longer. The following section provides a few tips for improving the display.

Improving the Appearance of the Display.   You may want to alter the appearance of the scope display by making some of the following adjustments from the right-click popup menu. To access the right-click menu, click with the right mouse button anywhere in the plot region. These options are also available from the Axes and Channels menus that are visible at the top of the window when Compact display is not selected. You can make all of these changes while the simulation is running:


  Viewing Signals Displaying Signals in the Frequency-Domain