Class a.lpf
Low Pass Filter
Tables
a.lpf | Low Pass Filter |
Methods
a.lpf:new (fc, ts) | constructor for Low Pass Filter |
a.lpf:gen (fc, ts) | generate for Low Pass Filter |
a.lpf:iter (x) | calculate for Low Pass Filter |
a.lpf:zero () | zeroing for Low Pass Filter |
Tables
Methods
- a.lpf:new (fc, ts)
-
constructor for Low Pass Filter
Parameters:
- fc number cut-off frequency unit(hz)
- ts number sampling time unit(s)
Returns:
-
a.lpf
Low Pass Filter userdata
- a.lpf:gen (fc, ts)
-
generate for Low Pass Filter
Parameters:
- fc number cut-off frequency unit(hz)
- ts number sampling time unit(s)
Returns:
-
a.lpf
Low Pass Filter userdata
- a.lpf:iter (x)
-
calculate for Low Pass Filter
Parameters:
- x number input value
Returns:
-
number
output value
- a.lpf:zero ()
-
zeroing for Low Pass Filter
Returns:
-
a.lpf
Low Pass Filter userdata