MOTDSP566 Blockset |
|
Search Help Desk |
MOTDSP566 Difference | Contents See Also |
Purpose
Compute the element-to-element difference along a vector.
Library
Motdsp566lib
Description
The MOTDSP566 Difference block computes the difference between successive vector elements. That is, for an input vector u of length N,
y = [u(2)-u(1) u(3)-u(2) ... u(N)-u(N-1)]
or
y = mot566_diff(u) % equivalent MATLAB code
The output is a vector of length N-1. A matrix input, u
, is treated as a
vector, u(:)
.
Dialog Box
MOTDSP566 Convolution | Convolution and polynomial multiplication |
MOTDSP566 Correlation | Cross-correlation function estimates |