ドキュメンテーション

このページの最新版は英語でご覧になれます。

DSP System Toolbox Simulink ブロック

DSP のモデル化

信号操作

Convolution Convolution of two inputs
DC Blocker Block DC component
Delay Delay discrete-time input by specified number of samples or frames
Downsample Resample input at lower rate by deleting samples
Interpolation Interpolate values of real input samples
NCO Generate real or complex sinusoidal signals
NCO HDL Optimized Generate real or complex sinusoidal signals—optimized for HDL code generation
Peak Finder Determine whether each value of input signal is local minimum or maximum
Phase Extractor Extract the unwrapped phase of a complex input
Repeat Resample input at higher rate by repeating values
Sample and Hold Sample and hold input signal
Triggered Signal From Workspace Import signal samples from MATLAB workspace when triggered
Unwrap Unwrap signal phase
Upsample Resample input at higher rate by inserting zeros
Variable Integer Delay Delay input by time-varying integer number of sample periods
Variable Fractional Delay Delay input by time-varying fractional number of sample periods
Window Function Compute and/or apply window to input signal
Constant Ramp Generate ramp signal with length based on input dimensions
Offset Truncate vectors by removing or keeping beginning or ending values
Pad Pad or truncate specified dimension(s)
Zero Crossing Count number of times signal crosses zero in single time step

信号の生成

Chirp Generate swept-frequency cosine (chirp) signal
Constant Generate constant value
Discrete Impulse Generate discrete impulse
Identity Matrix Generate matrix with ones on main diagonal and zeros elsewhere
Multiphase Clock Generate multiple binary clock signals
N-Sample Enable Output ones or zeros for specified number of sample times
Random Source Generate randomly distributed values
Signal From Workspace Import signal from MATLAB workspace
Sine Wave Generate continuous or discrete sine wave

信号のインポートとエクスポート

From Audio Device Read audio data from computer's audio device
To Audio Device Write audio data to computer's audio device
From Multimedia File Read multimedia file
To Multimedia File Write video frames and audio samples to multimedia file
UDP Receive Receive uint8 vector as UDP message
UDP Send Send UDP message
MIDI Controls Output values from controls on MIDI control surface

スコープおよびデータ ログ

Display Show value of input
Matrix Viewer Display matrices as color images
Spectrum Analyzer Display frequency spectrum of time-domain signals
Time Scope Display time-domain signals
Vector Scope Display vector or matrix of time-domain, frequency-domain, or user-defined data
Waterfall View vectors of data over time
To Workspace Write data to MATLAB workspace
Triggered To Workspace Write input sample to MATLAB workspace when triggered

バッファー、スイッチおよびカウンター

Buffer Buffer input sequence to smaller or larger frame size
Delay Line Rebuffer sequence of inputs
Queue Store inputs in FIFO register
Stack Store inputs into LIFO register
Unbuffer Unbuffer input frame into sequence of scalar outputs
Counter Count up or down through specified range of numbers
Edge Detector Detect transition from zero to nonzero value
Event-Count Comparator Detect threshold crossing of accumulated nonzero inputs
Multiphase Clock Generate multiple binary clock signals
N-Sample Enable Output ones or zeros for specified number of sample times
N-Sample Switch Switch between two inputs after specified number of sample periods

信号属性とインデックス付け

Check Signal Attributes Error when input signal does or does not match selected attributes exactly
Convert 1-D to 2-D Reshape 1-D or 2-D input to 2-D matrix with specified dimensions
Convert 2-D to 1-D Convert 2-D matrix input to 1-D vector
Data Type Conversion Convert input signal to specified data type
Frame Conversion Specify sampling mode of output signal
Inherit Complexity Change complexity of input to match reference signal
Flip Flip input vertically or horizontally
Multiport Selector Distribute arbitrary subsets of input rows or columns to multiple output ports
Overwrite Values Overwrite submatrix or subdiagonal of input
Selector Select input elements from vector, matrix, or multidimensional signal
Submatrix Select subset of elements (submatrix) from matrix input
Variable Selector Select subset of rows or columns from input

フィルターの設計と解析

フィルターの設計

Arbitrary Response Filter Design arbitrary response filter
Audio Weighting Filter Design audio weighting filter
Bandpass Filter Design bandpass filter
Bandstop Filter Design bandstop filter
CIC Compensator Design CIC compensator
CIC Filter Design Cascaded Integrator-Comb (CIC) Filter
Comb Filter Design comb Filter
Differentiator Filter Design differentiator filter
Halfband Filter Design halfband filter
Highpass Filter Design highpass filter
Hilbert Filter Design Hilbert filter
Inverse Sinc Filter Design inverse sinc filter
Lowpass Filter Design lowpass filter
Nyquist Filter Design Nyquist filter
Octave Filter Design octave filter
Parametric Equalizer Design parametric equalizer
Peak-Notch Filter Design peak or notch filter
Pulse Shaping Filter Design pulse shaping filter

フィルターの実装

シングルレート フィルター

Allpole Filter Model allpole filters
Analog Filter Design Design and implement analog filters
Biquad Filter Model biquadratic IIR (SOS) filters
Delay Delay discrete-time input by specified number of samples or frames
Digital Filter Design Design and implement digital FIR and IIR filters
Discrete Filter 無限インパルス応答 (IIR) フィルターのモデル化
Filter Realization Wizard Construct filter realizations using digital filter blocks or Sum, Gain, and Delay blocks
Discrete FIR Filter FIR フィルター モデル
Overlap-Add FFT Filter Implement overlap-add method of frequency-domain filtering
Overlap-Save FFT Filter Implement overlap-save method of frequency-domain filtering
Variable Integer Delay Delay input by time-varying integer number of sample periods
Variable Fractional Delay Delay input by time-varying fractional number of sample periods

マルチレート フィルターと多段フィルター

CIC Decimation Decimate signal using Cascaded Integrator-Comb filter
CIC Interpolation Interpolate signal using Cascaded Integrator-Comb filter
Dyadic Analysis Filter Bank Decompose signals into subbands with smaller bandwidths and slower sample rates or compute discrete wavelet transform (DWT)
Dyadic Synthesis Filter Bank Reconstruct signals from subbands with smaller bandwidths and slower sample rates or compute inverse discrete wavelet transform (IDWT)
FIR Decimation Filter and downsample input signals
FIR Interpolation Upsample and filter input signals
FIR Rate Conversion Upsample, filter, and downsample input signals
Two-Channel Analysis Subband Filter Decompose signal into high-frequency and low-frequency subbands
Two-Channel Synthesis Subband Filter Reconstruct signal from high-frequency and low-frequency subbands

適応フィルター

Block LMS Filter Compute output, error, and weights using LMS adaptive algorithm
Fast Block LMS Filter Compute output, error, and weights using LMS adaptive algorithm
Kalman Filter Predict or estimate states of dynamic systems
LMS Filter Compute output, error, and weights using LMS adaptive algorithm
RLS Filter Compute filtered output, filter error, and filter weights for given input and desired signal using RLS adaptive filter algorithm

変換とスペクトル解析

変換

Analytic Signal Compute analytic signals of discrete-time inputs
Complex Cepstrum Compute complex cepstrum of input
DCT Discrete cosine transform (DCT) of input
DWT Discrete wavelet transform (DWT) of input or decompose signals into subbands with smaller bandwidths and slower sample rates
FFT Fast Fourier transform (FFT) of input
FFT HDL Optimized Fast Fourier transform—optimized for HDL code generation
IFFT HDL Optimized Inverse fast Fourier transform—optimized for HDL code generation
IDCT Inverse discrete cosine transform (IDCT) of input
IDWT Inverse discrete wavelet transform (IDWT) of input or reconstruct signals from subbands with smaller bandwidths and slower sample rates
IFFT Inverse fast Fourier transform (IFFT) of input
Inverse Short-Time FFT Recover time-domain signals by performing inverse short-time, fast Fourier transform (FFT)
Magnitude FFT Compute nonparametric estimate of spectrum using periodogram method
Real Cepstrum Compute real cepstrum of input
Short-Time FFT Nonparametric estimate of spectrum using short-time, fast Fourier transform (FFT) method

線形予測

Autocorrelation LPC Determine coefficients of Nth-order forward linear predictors
Levinson-Durbin Solve linear system of equations using Levinson-Durbin recursion
LPC to LSF/LSP Conversion Convert linear prediction coefficients to line spectral pairs or line spectral frequencies
LPC to/from Cepstral Coefficients Convert linear prediction coefficients to cepstral coefficients or cepstral coefficients to linear prediction coefficients
LPC to/from RC Convert linear prediction coefficients to reflection coefficients or reflection coefficients to linear prediction coefficients
LPC/RC to Autocorrelation Convert linear prediction coefficients or reflection coefficients to autocorrelation coefficients
LSF/LSP to LPC Conversion Convert line spectral frequencies or line spectral pairs to linear prediction coefficients

スペクトル解析

Burg AR Estimator Compute estimate of autoregressive (AR) model parameters using Burg method
Burg Method Power spectral density estimate using Burg method
Covariance AR Estimator Compute estimate of autoregressive (AR) model parameters using covariance method
Covariance Method Power spectral density estimate using covariance method
Discrete Transfer Function Estimator Compute estimate of frequency-domain transfer function of system
Magnitude FFT Compute nonparametric estimate of spectrum using periodogram method
Modified Covariance AR Estimator Compute estimate of autoregressive (AR) model parameters using modified covariance method
Modified Covariance Method Power spectral density estimate using modified covariance method
Periodogram Power spectral density or mean-square spectrum estimate using periodogram method
Short-Time FFT Nonparametric estimate of spectrum using short-time, fast Fourier transform (FFT) method
Spectrum Analyzer Display frequency spectrum of time-domain signals
Yule-Walker AR Estimator Compute estimate of autoregressive (AR) model parameters using Yule-Walker method
Yule-Walker Method Power spectral density estimate using Yule-Walker method

音声およびオーディオ処理

オーディオ I/O

From Audio Device Read audio data from computer's audio device
To Audio Device Write audio data to computer's audio device
From Multimedia File Read multimedia file
To Multimedia File Write video frames and audio samples to multimedia file

線形予測と AR 推定

Autocorrelation LPC Determine coefficients of Nth-order forward linear predictors
Levinson-Durbin Solve linear system of equations using Levinson-Durbin recursion
LPC to LSF/LSP Conversion Convert linear prediction coefficients to line spectral pairs or line spectral frequencies
LPC to/from RC Convert linear prediction coefficients to reflection coefficients or reflection coefficients to linear prediction coefficients
LPC/RC to Autocorrelation Convert linear prediction coefficients or reflection coefficients to autocorrelation coefficients
LSF/LSP to LPC Conversion Convert line spectral frequencies or line spectral pairs to linear prediction coefficients
LPC to/from Cepstral Coefficients Convert linear prediction coefficients to cepstral coefficients or cepstral coefficients to linear prediction coefficients
Burg AR Estimator Compute estimate of autoregressive (AR) model parameters using Burg method
Burg Method Power spectral density estimate using Burg method
Covariance AR Estimator Compute estimate of autoregressive (AR) model parameters using covariance method
Covariance Method Power spectral density estimate using covariance method
Modified Covariance AR Estimator Compute estimate of autoregressive (AR) model parameters using modified covariance method
Modified Covariance Method Power spectral density estimate using modified covariance method
Yule-Walker AR Estimator Compute estimate of autoregressive (AR) model parameters using Yule-Walker method
Yule-Walker Method Power spectral density estimate using Yule-Walker method

ケプストラム解析

Complex Cepstrum Compute complex cepstrum of input
Real Cepstrum Compute real cepstrum of input
LPC to/from Cepstral Coefficients Convert linear prediction coefficients to cepstral coefficients or cepstral coefficients to linear prediction coefficients

量子化器

G711 Codec Quantize narrowband speech input signals
Quantizer 指定した間隔で入力を離散化
Scalar Quantizer Decoder Convert each index value into quantized output value
Scalar Quantizer Design Start Scalar Quantizer Design Tool (SQDTool) to design scalar quantizer using Lloyd algorithm
Scalar Quantizer Encoder Encode each input value by associating it with index value of quantization region
Uniform Decoder Decode integer input into floating-point output
Uniform Encoder Quantize and encode floating-point input into integer output
Vector Quantizer Decoder Find vector quantizer codeword that corresponds to given, zero-based index value
Vector Quantizer Design Design vector quantizer using Vector Quantizer Design Tool (VQDTool)
Vector Quantizer Encoder For given input, find index of nearest codeword based on Euclidean or weighted Euclidean distance measure

統計と線形代数

計測と統計

Autocorrelation Autocorrelation of vector or matrix input
Correlation Cross-correlation of two inputs
Detrend Remove linear trend from vectors
Histogram Generate histogram of input or sequence of inputs
Maximum Find maximum values in input or sequence of inputs
Mean Find mean value of input or sequence of inputs
Median Find median value of input
Minimum Find minimum values in input or sequence of inputs
RMS Compute root-mean-square value of input or sequence of inputs
Sort Sort input elements by value
Standard Deviation Find standard deviation of input or sequence of inputs
Variance Compute variance of input or sequence of inputs

配列と行列の数学

Array-Vector Add Add vector to array along specified dimension
Array-Vector Divide Divide array by vector along specified dimension
Array-Vector Multiply Multiply array by vector along specified dimension
Array-Vector Subtract Subtract vector from array along specified dimension
Complex to Magnitude-Angle HDL Optimized Compute magnitude and/or phase angle of complex signal—optimized for HDL code generation using the CORDIC algorithm
Cumulative Product Cumulative product of channel, column, or row elements
Cumulative Sum Cumulative sum of channel, column, or row elements
dB Conversion Convert magnitude data to decibels (dB or dBm)
dB Gain Apply decibel gain
Difference Compute element-to-element difference along specified dimension of input
Least Squares Polynomial Fit Compute polynomial coefficients that best fit input data in least-squares sense
Normalization Perform vector normalization along rows, columns, or specified dimension
Polynomial Evaluation Evaluate polynomial expression
Polynomial Stability Test Use Schur-Cohn algorithm to determine whether all roots of input polynomial are inside unit circle
Create Diagonal Matrix Create square diagonal matrix from diagonal elements
Extract Diagonal Extract main diagonal of input matrix
Extract Triangular Matrix Extract lower or upper triangle from input matrices
Identity Matrix Generate matrix with ones on main diagonal and zeros elsewhere
Matrix 1-Norm Compute 1-norm of matrix
Matrix Concatenate Concatenate input signals of same data type to create contiguous output signal
Matrix Exponential Compute matrix exponential
Matrix Multiply Multiply or divide inputs
Matrix Product Multiply matrix elements along rows, columns, or entire input
Matrix Square Compute square of input matrix
Matrix Sum Sum matrix elements along rows, columns, or entire input
Overwrite Values Overwrite submatrix or subdiagonal of input
Permute Matrix Reorder matrix rows or columns
Reciprocal Condition Compute reciprocal condition of square matrix in 1-norm
Submatrix Select subset of elements (submatrix) from matrix input
Toeplitz Generate matrix with Toeplitz symmetry

線形代数

Backward Substitution Solve UX=B for X when U is upper triangular matrix
Cholesky Factorization Factor square Hermitian positive definite matrix into triangular components
Cholesky Inverse Compute inverse of Hermitian positive definite matrix using Cholesky factorization
Cholesky Solver Solve SX=B for X when S is square Hermitian positive definite matrix
Forward Substitution Solve LX=B for X when L is lower triangular matrix
LDL Factorization Factor square Hermitian positive definite matrices into lower, upper, and diagonal components
LDL Inverse Compute inverse of Hermitian positive definite matrix using LDL factorization
LDL Solver Solve SX=B for X when S is square Hermitian positive definite matrix
Levinson-Durbin Solve linear system of equations using Levinson-Durbin recursion
LU Factorization Factor square matrix into lower and upper triangular components
LU Inverse Compute inverse of square matrix using LU factorization
LU Solver Solve AX=B for X when A is square matrix
Pseudoinverse Compute Moore-Penrose pseudoinverse of matrix
QR Factorization Factor arbitrary matrix into unitary and upper triangular components
QR Solver Find minimum-norm-residual solution to AX=B
Singular Value Decomposition Factor matrix using singular value decomposition
SVD Solver Solve AX=B using singular value decomposition

固定小数点設計

固定小数点フィルター

Biquad Filter Model biquadratic IIR (SOS) filters
CIC Decimation Decimate signal using Cascaded Integrator-Comb filter
CIC Interpolation Interpolate signal using Cascaded Integrator-Comb filter
Discrete Filter 無限インパルス応答 (IIR) フィルターのモデル化
Discrete FIR Filter Model FIR filters
Filter Realization Wizard Construct filter realizations using digital filter blocks or Sum, Gain, and Delay blocks
FIR Decimation Filter and downsample input signals
FIR Interpolation Upsample and filter input signals
FIR Rate Conversion Upsample, filter, and downsample input signals
LMS Filter Compute output, error, and weights using LMS adaptive algorithm
Two-Channel Analysis Subband Filter Decompose signal into high-frequency and low-frequency subbands
Two-Channel Analysis Subband Filter Decompose signal into high-frequency and low-frequency subbands
この情報は役に立ちましたか?