You can perform signal operations such as rate conversion, convolution, digital-up and digital-down conversion, phase extraction, DC component removal, peak location, signal padding, and delay addition using blocks and System objects from DSP System Toolbox™.
|Translate digital signal from intermediate frequency (IF) band to baseband and decimate it|
|Interpolate digital signal and translate it from baseband to IF band|
|Polynomial sample rate converter with arbitrary conversion factor|
|Multistage sample rate converter|
|Downsample||Resample input at lower rate by deleting samples|
|Digital Down-Converter||Translate digital signal from intermediate frequency (IF) band to baseband and decimate it|
|Digital Up-Converter||Interpolate and translate digital signal from baseband to intermediate frequency (IF) band|
|Farrow Rate Converter||Polynomial sample-rate converter with arbitrary conversion factor|
|Interpolation||Interpolate values of real input samples|
|Repeat||Resample input at higher rate by repeating values|
|Sample and Hold||Sample and hold input signal|
|Sample-Rate Converter||Multistage sample-rate conversion|
|Upsample||Resample input at higher rate by inserting zeros|
|Convolution||Convolution of two inputs|
|DC Blocker||Block DC component|
|Detrend||Remove linear trend from vectors|
|Offset||Truncate vectors by removing or keeping beginning or ending values|
|Pad||Pad or truncate specified dimension(s)|
|Peak Finder||Determine whether each value of input signal is local minimum or maximum|
|Phase Extractor||Extract the unwrapped phase of a complex input|
|Unwrap||Unwrap signal phase|
|Window Function||Compute and apply window to input signal|
|Zero Crossing||Count number of times signal crosses zero in single time step|
Sample- and Frame-Based Processing
- 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.
- 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.
- Convert Sample and Frame Rates in Simulink Using Rate Conversion Blocks
Learn how direct-rate conversion blocks impact the sample rate and frame rate of signals in Simulink models.
- Compare Speed Performance in Frame-Based Processing Mode Using Simulink Profiler
Process signals using frame-based processing and compare the performance using Simulink profiler.
- Upsample Signal in Single-Rate Frame-Based Processing Mode
Upsample signal in the single-rate processing mode.
- Upsample Signal in Multirate Frame-Based Processing Mode
Upsample signal in multirate frame-based processing mode.
- Sample and Hold a Signal
Shows the effect of different trigger events on output of the Sample and Hold block.
- Repeat Signal in Single-Rate Frame-Based Processing Mode
Repeat the signal in single-rate processing mode.
- Repeat Signal in Multirate Frame-Based Processing Mode
Repeat the signal in multirate frame-based processing mode.
- Generate and Apply Hamming Window
Generates and applies a Hamming window using Window Function block.
- Unwrap Signal
This model shows basic unwrapping using the Unwrap block.
- Convolution of Two Inputs
This model shows how to convolve two vectors using the Convolution block.
- Pad or Truncate Matrix with Constant Values
Use the Pad block to pad or truncate constant values to a matrix.
- Extract the Phase of Sine Wave
Use the Phase Extractor block to extract the phase of a sine wave signal.
- Use DC Blocker to Remove DC Component of Signal
Remove DC component of signal using IIR and Subtract mean estimation algorithms.
- DC Blocker with Fixed Point Data
Use DC Blocker block to remove DC offset from fixed-point data.
- Truncate Data Vector Using Offset Block
Truncate data vector using Offset block in all the four modes.
- Detect Number of Zero Crossings in Signal
Detect number of zero crossings using Zero Crossing block.
- Find Peak Values in a Signal
Shows the analysis made by the Peak Finder block while processing an input vector.
- Effect of Overflow Mode on Peak Finder Output
Effect of saturate on integer overflow parameter on the Peak Finder output.