Dilates matrix data
No License
Dilates a time series input and resizes it to the orignal sample length
input. If a matrix is input, dilation is done along columns. % The up/down
sampling is done via resample.m, so low-pass filtering of the
up/downsampling is automatically implemented. An anti-alaising, lowpass
filter is applied to the data, and the signal delay is compensated for via
resample.
USAGE:
[W]=dilateColumns(data); %default dilation is 2
[W]=dilateColumns(data,dilNum); %a vector of dilation values
INPUT:
data: A matrix of data vectors stored column-wise.
dilNum: A vector of dilation values. Negative dilation values
compress (downsample) the time series, while positive dilation
values dilate (upsample) the time series.
OUTPUT:
W: The original data with the dilated data. The output matrix is
arranged in order so that dilated data are stored in columns
adjacent to the non-dilated input data.
Cite As
Joshua Carmichael (2024). Dilates matrix data (https://www.mathworks.com/matlabcentral/fileexchange/23340-dilates-matrix-data), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Digital and Analog Filters > Multirate Signal Processing >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |