I found a command " decimate ". it seems like it does the trick. I have not tried it yet though.
8 ビュー (過去 30 日間)
Baba 2011 年 11 月 18 日
is there a matlab command that will filter and downsample data?
Honglei Chen 2011 年 11 月 18 日
There are several possibilities. You can use either upfirdn or design the filter using fdesign.decimator and then filter your signal.
その他の回答 (1 件)
imresize() in the Image Processing Toolbox
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.
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!