Please enable JavaScript to view this site.

Digital notch filter function. Each function call will have its own storage.

Syntax

real filter_notch (real val, real omega, real valQ)

val

Is the value (or a generic mathematical expression) to be filtered

omega

Value of the cut filter omega in radians per second (omega = 2 * K_PI * cut frequency (Hz)). It can be a generic mathematical expression

valQ

Value of the filter Q coefficient (Q must be >= 0.75). Can be a generic mathematical expression

Result

Returns the filtered value

Validity

Rule

Note

Automatic omega limitation: (omega_max = 0.15 / si * 2 * K_PI) -> i.e. no more than 15% of omega value corresponding to rule sampling time.

(e.g. if Freq = 200Hz -> filter cut frequency <= 30 Hz)

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC