DSP System Toolbox

Signal Generation, I/O, and Visualization

Generating and Importing Signals

The signals that you work with can be acquired from a variety of sources. You can:

  • Import audio signals from multimedia files
  • Record audio data from soundcards
  • Acquire multichannel audio data in real time
  • Receive UDP packets from an IP network port

Simulation results can be exported to audio files, audio devices, or transmitted as UDP packets over an IP network.

You can also generate binary signals, random signals, and common waveforms such as sine waves and chirp signals using functions in DSP System Toolbox.

Visualizing Signals in Time and Frequency Domains

DSP System Toolbox provides several tools for time-domain and frequency-domain visualization: Time Scope, Spectrum Scope, Vector Scope, and Waterfall Scope.

Visualizing time-domain signals in the Time Scope tool.
Visualizing time-domain signals in the Time Scope tool. Simulation controls enable starting, pausing and stopping simulations from within the Time Scope.

The Time Scope displays signals in the time-domain and supports a variety of signals—continuous and discrete, fixed-size and variable-size, floating and fixed-point data, and N-dimensional signals. You can also display multiple signals on the same axes, where each input signal has different dimensions, sample rates, and data types. Simulation controls on the Time Scope let you start, pause, continue, take a snapshot, or stop the simulation without having to switch windows.

The Spectrum Scope estimates the spectrum of a time-domain input signal and displays its frequency spectrum on a linear or log scale. Scope parameters enable you to specify FFT length, buffer size and overlap, and spectrum units.

The Vector Scope is a comprehensive display tool similar to a digital oscilloscope. You can use it to plot consecutive time samples from a vector or to plot vectors containing data such as filter coefficients or spectral magnitudes.

The Waterfall Scope displays multiple vectors of data at one time, where each vector represents the input data at consecutive sample times. This tool only displays real-valued, double-precision data.

Next: Fixed-Point Implementation and Code Generation for DSP System Models

Try DSP System Toolbox

Get trial software

Developing Modular, PXI, and AXIe Test Systems using MATLAB

View webinar