Fractional delay filter design

2 views (last 30 days)
nidhi bisla
nidhi bisla on 7 Apr 2022
Answered: Binaya on 22 Nov 2023
Which is the fastest implementation of the fractional delay in Matlab, by using inbuilt function or designing it with the FIR filter. Since I have to run it billion times so I want the most efficient manner to implement it.

Answers (1)

Binaya
Binaya on 22 Nov 2023
Hi Nidhi,
Based on my understanding, you would like to know the fastest way to implement fractional delay in MATLAB.
The choice between using the inbuilt function "fracdelay" and a self-designed FIR filter depends on the specific requirements of the application. Here’s a brief comparison of the two approaches:
  1. Inbuilt Function:
a. "fracdelay": MATLAB provides inbuilt functions such as "fracdelay" for fractional delay operations.
b. “designFracDelayFIR”: This function offers a convenient and optimized way to design fractional delay FIR filters with specified delay, filter length or combined bandwidth, making it a good choice for achieving minimum computational time.
2. FIR Filter Design: Designing an FIR filter gives the user access to all filter specifications, which can be tailored for specific needs. If the use of the inbuilt function is still not meeting your requirements for faster execution, you can implement an FIR filter with fine control over filter coefficients and structure.
The MATLAB’s inbuilt functions are designed to function as fastest and most efficient methods. If these functions are not able to meet the requirement standards of efficiency, you can also try to build a FIR filter by designing the filter coefficients and structure.
Please refer to below documentation for more details:
  1. fracdelay”: https://www.mathworks.com/help/dsp/ref/fdesign.fracdelay.html
  2. designFracDelayFIR”: https://www.mathworks.com/help/dsp/ref/designfracdelayfir.html
I hope this helps.
Regards 
Binaya 

Categories

Find more on Get Started with DSP System Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!