신호 생성
DSP System Toolbox™의 소스 블록과 System object를 사용하여 샘플 기반 처리와 프레임 기반 처리를 위한 신호를 생성할 수 있습니다.
Colored Noise 블록 및 Sine Wave 블록과 같은 소스 블록은 미리 정의된 알고리즘을 사용하여 신호를 생성합니다. 이러한 블록 대부분은 생성하는 각 프레임(열)의 샘플 수를 제어할 수 있습니다. 이러한 소스 블록을 사용하여 신호를 생성하는 방법을 보여주는 예제는 Create Signals for Sample-Based Processing 항목과 Create Signals for Frame-Based Processing 항목을 참조하십시오.
객체
dsp.ColoredNoise | Generate colored noise signal |
dsp.Chirp | Generate swept-frequency cosine (chirp) signal |
dsp.NCO | Generate real or complex sinusoidal signals |
dsp.SignalSource | Import variable from workspace |
dsp.SineWave | Generate discrete sine wave |
블록
Chirp | Generate swept-frequency cosine (chirp) signal |
Colored Noise | Generate colored noise signal |
Constant | Constant value |
Constant Ramp | Generate ramp signal with length based on input dimensions |
Discrete Impulse | Generate discrete impulse |
Multiphase Clock | Generate multiple binary clock signals |
N-Sample Enable | Output ones or zeros for specified number of sample times |
NCO | Generate real or complex sinusoidal signals |
Random Source | Generate randomly distributed values |
Sine Wave | 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.