Clear Filters
Clear Filters

Decimation factor with RESAMPLE

3 views (last 30 days)
Jose Manuel
Jose Manuel on 12 Feb 2014
Answered: Wayne King on 12 Feb 2014
In the DECIMATE's help ( http://www.mathworks.es/es/help/signal/ref/decimate.html ) says that:
-------------------------------------------------------------
Note: For better results when r is greater than 13, you should break r into its factors and call decimate several times.
-------------------------------------------------------------
I prefer to use RESAMPLE because I think it's better than DECIMATE. But in RESAMPLE's help
( http://www.mathworks.es/es/help/signal/ref/resample.html ) says nothing about if decimation factor must be less than 13 for better results.
So, can I use decimation factor with RESAMPLE greater than 13 and get good results?
Thank you,
José Manuel

Answers (1)

Wayne King
Wayne King on 12 Feb 2014
resample uses upfirdn() under the hood, which is ultimately a MEX file implementation of a polyphase filtering of the input, so I believe you will find resample more efficient for larger factors.

Products

Community Treasure Hunt

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

Start Hunting!