You can create signals for sample-based and frame-based processing using the source blocks and System objects from DSP System Toolbox™.
The source blocks such as Colored Noise and Sine Wave blocks generate signals using a predefined algorithm. Most of these blocks can control number of samples in each frame (column) that they generate. For examples that show how to generate signals using these source blocks, see Create Signals for Sample-Based Processing and Create Signals for Frame-Based Processing.
|Generate swept-frequency cosine (chirp) signal
|Generate colored noise signal
|Generate constant value
|Generate ramp signal with length based on input dimensions
|Generate discrete impulse
|Generate multiple binary clock signals
|Output ones or zeros for specified number of sample times
|Generate real or complex sinusoidal signals
|Generate randomly distributed values
|Generate continuous or discrete sine wave
- Discrete-Time Signals
Overview of discrete-time signals. Discusses the similarities and differences between using fixed-step solvers and variable-step solvers while handling discrete-time signals.
- Continuous-Time Signals
Overview of continuous-time signals.
- Sample- and Frame-Based Concepts
Explore basic signal concepts in the context of a Simulink® model. Learn more about sample-based processing and frame-based processing.
- Create Signals for Sample-Based Processing
Use the Constant block and the Signal From Workspace block to generate signals for sample-based processing. Use the Matrix Concatenate block to combine signals to form multichannel signals.
- Create Signals for Frame-Based Processing
Use the Sine Wave block and the Signal From Workspace block to generate signals for frame-based processing. Use Matrix Concatenate block to combine signals to form multichannel signals.
- Inspect Sample and Frame Rates in Simulink
Understand sample time, sample rate, frame period, and frame rate in the context of a Simulink model. Determine the sample and frame rates of signals in your model.
- Delay and Latency
Configure the Simulink environment to minimize delay and increase simulation performance.