omid2006
Junior Member level 2
- Joined
- Apr 24, 2019
- Messages
- 20
- Helped
- 0
- Reputation
- 0
- Reaction score
- 5
- Trophy points
- 3
- Activity points
- 120
Hello friends
I found a unknown digital low pass filter in a sample code but I can't adapt it's formula with common filters like IIR because it's like a IIR filter with negative coefficient. it's like feedback filter but feedback filter is a highpass in ordinary and this filter is low pass. I'll write it's formula and I appreciate if anyone can help.
and Ts is the sampling frequency thus execution rate of filter.
I found a unknown digital low pass filter in a sample code but I can't adapt it's formula with common filters like IIR because it's like a IIR filter with negative coefficient. it's like feedback filter but feedback filter is a highpass in ordinary and this filter is low pass. I'll write it's formula and I appreciate if anyone can help.
Code:
out[n]+=(in[n]-out[n-1])*500*Ts
and Ts is the sampling frequency thus execution rate of filter.