Hauptinhalt

Signalerzeugung

Erzeugen von Signalen für die Sample- und Frame-basierte Verarbeitung

Mit Quellblöcken und System objects von DSP System Toolbox™ können Sie Signale für die Sample- und Frame-basierte Verarbeitung erzeugen.

Quellblöcke wie Colored Noise und Sine Wave erzeugen mithilfe eines vordefinierten Algorithmus Signale. Die meisten dieser Blöcke können die Anzahl der Samples (Abtastwerte) in jedem von ihnen erzeugten Frame (Signalblock) steuern. Beispiele für die Erzeugung von Signalen mithilfe dieser Quellblöcke finden Sie unter Create Signals for Sample-Based Processing und Create Signals for Frame-Based Processing.

Objekte

dsp.ColoredNoiseGenerate colored noise signal
dsp.ChirpGenerate swept-frequency cosine (chirp) signal
dsp.NCOGenerate real or complex sinusoidal signals
dsp.SignalSourceImport variable from workspace
dsp.SineWaveGenerate discrete sine wave

Blöcke

ChirpGenerate swept-frequency cosine (chirp) signal
Colored NoiseGenerate colored noise signal
ConstantConstant value
Constant RampGenerate ramp signal with length based on input dimensions
Discrete ImpulseGenerate discrete impulse
Multiphase ClockGenerate multiple binary clock signals
N-Sample EnableOutput ones or zeros for specified number of sample times
NCOGenerate real or complex sinusoidal signals
Random SourceGenerate randomly distributed values
Sine WaveGenerate continuous or discrete sine wave

Themen

  • 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.

Enthaltene Beispiele