Robuta

https://au.mathworks.com/help/signal/ref/fir2.html fir2 - Frequency sampling-based FIR filter design - MATLAB This MATLAB function returns an nth-order FIR filter with frequency-magnitude characteristics specified in the vectors f and m. fir filterfrequencysamplingbaseddesign