besselfilterdigital

Applies a digital Bessel filter on the input signal.

Syntax

besselfilterdigital(c1.x, c1.y, order, choice, cutoff_frequency)

Arguments

c1.x
The x vector.
c1.y
The y vector (input signal).
order
The order of the Bessel filter (2 or 4).
choice
The choice of the Bessel filter. Options include:
  • 1 - lowpass
  • 2 - highpass
cutoff_frequency
The cutoff frequency f0 in Hz.
The cutoff frequency f0 should be less than half the sampling frequency fs, where fs is the reciprocal of the difference of the first two values of the x vector.

Example

x = c1.x 
y = besselfilterdigital(c1.x, c1.y, 2, 1, 0.01).

Comments

Result: The function applies a two-pole low pass digital Bessel filter on the input signal c1.y with a cutoff frequency of 0.01Hz.