7 views (last 30 days)
Baba on 18 Nov 2011
is there a matlab command that will filter and downsample data?
Baba on 21 Nov 2011
yep, the only toolbox that i have is the sptool

Sign in to comment.

Accepted Answer

Honglei Chen
Honglei Chen on 18 Nov 2011
There are several possibilities. You can use either upfirdn or design the filter using fdesign.decimator and then filter your signal.
doc upfirdn
doc fdesign.decimator

More Answers (1)

Walter Roberson
Walter Roberson on 18 Nov 2011
imresize() in the Image Processing Toolbox
Walter Roberson
Walter Roberson on 18 Nov 2011
There isn't any command for it in basic MATLAB. You may be able to construct routines for it out of basic MATLAB, depending on how you want to do your filtering. For example, you could fft2, adjust the frequency matrix, then ifft2() specifying fewer points than the original had.

Sign in to comment.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by