HI everyone, I am working through code from a colleague (retired) and slowly interpreting what everything means as I learn matlab.
One of the lines is:
hp = fir1(128, 0.10, 'high');
...which I understand is creating a filter that I will later multiply my data array with. I am wondering where the 128 comes from? I see the filter has N+1 values (129) but wondering where the reasoning is for using 128 in first place. Or how do you decide from the start what to put N as?