No BSD License  

Highlights from
Dilates matrix data

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 2.91 KB File ID: #23340
image thumbnail

Dilates matrix data

by Joshua Carmichael

 

17 Mar 2009

Dilates a time series input and resizes it.

| Watch this File

File Information
Description

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.

Required Products Signal Processing Toolbox
MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
signal processing Joshua Carmichael 18 Mar 2009 11:12:40
wavelets Joshua Carmichael 18 Mar 2009 11:12:40
dsp Joshua Carmichael 18 Mar 2009 11:12:40
sampling Joshua Carmichael 18 Mar 2009 11:12:40
time series Joshua Carmichael 18 Mar 2009 11:12:40
dilation Joshua Carmichael 18 Mar 2009 11:12:40

Contact us at files@mathworks.com