k-Wave Toolbox
k-Wave Toolbox Previous   Next

gaussianFilter

Filter signals using a frequency domain Gaussian filter

Syntax

signal = gaussianFilter(signal, Fs, freq, bandwidth)
signal = gaussianFilter(signal, Fs, freq, bandwidth, plot_filter)

Description

gaussianFilter applies a frequency domain Gaussian filter with the specified center frequency and percentage bandwidth to the input signal. If the input signal is given as a matrix, the filter is applied to each matrix row.

Inputs

signal

signal/s to filter

Fs

sampling frequency [Hz]

freq

filter center frequency [Hz]

bandwidth

filter bandwidth [%]

Optional Inputs

plot_filters

Boolean controlling whether the filtering process is plotted

Outputs

signal

filtered signal/s

See Also

applyFilter, filterTimeSeries, gaussian


© 2009-2014 Bradley Treeby and Ben Cox.