Hi! I am going through a MATLAB based textbook for time frequency analysis of Neural data (MEG/EEG time series data) and got to a chapter which goes through filter construction. It’s primarily going over the usage of the functions `firls`

(Least-squares linear-phase FIR filter design) and `fir1`

(Window-based FIR filter design) (see: docs and more docs). As a newcomer to this, I couldn’t find similar functions and was wondering if I could be pointed into the right direction. I have seen the filter docs in DSP.jl but they are a little difficult for me to understand. So

- Which functions should I be using in the Julia ecosystem to do the same thing.
- If the approach is different: how do they differ from Least-squares linear-phase FIR filter design and Window-based FIR filter design.

I should add I am looking for this because I’m doing the material in Julia, not in MATLAB. So I’m interested in learning and implementing, not comparing the methods between languages or anything.