How can I make a simple low-pass FIR filter using Matlab (without using the built-in function)?
Example problem:
Implement a FIR LPF with cut-off frequency 250Hz
it may also be required that the sample rate be set ...
Solution or what I already know:
x = [...] -> input signal
A = 1; -> Since this is FIR
B = [?????]
y = filter(B, A, x) -> Output signal
Afaik, B must contain the coefficients for the FIR filter. But; How can I calculate these coefficients, given that I have a cutoff frequency?
source
share