Main Content

noisebw

Equivalent noise bandwidth of digital lowpass filter

Description

example

bw= noisebw(num,den,N,Fs)returns the two-sided equivalent noise bandwidth of a digital lowpass filter in Hz. Specify the filter coefficients in descending polynomial powers by numeratornumand denominatorden. InputNis the number of samples of the impulse response.Fsis the sampling rate for the filtered signal. For more information on the two-sided equivalent noise bandwidth computation, seeAlgorithms.

Examples

collapse all

Set the sampling rate, Nyquist frequency, and carrier frequency.

fs = 16; fNyq = fs/2; fc = 0.5;

Generate a Butterworth filter.

[num,den] = butter(2,fc/fNyq);

Compute the equivalent noise bandwidth of the filter over 100 samples of the impulse response.

bw = noisebw(num,den,100,fs)
bw = 1.1049

Input Arguments

collapse all

Numerator coefficients of the filter in descending polynomial powers, specified as a numeric row vector.

Data Types:double

Denominator coefficients of the filter in descending polynomial powers, specified as a numeric row vector.

Data Types:double

Number of samples of the impulse response to use when calculating the bandwidth, specified as a positive integer.

Data Types:double

Sampling rate for the filtered signal, specified as a positive integer. The function uses this input value as a scaling factor to convert a normalized unitless quantity into a bandwidth in Hz.

Data Types:double

Output Arguments

collapse all

Equivalent noise bandwidth in Hz, returned as a numeric scalar.

Algorithms

This formula specifies the two-sided equivalent noise bandwidth computation.

Fs i = 1 N | h ( i ) | 2 | i = 1 N h ( i ) | 2

his the impulse response of the filter and is specified by input argumentsnumandden.

References

[1]Jeruchim, Michel C., Philip Balaban, and K. Sam Shanmugan.Simulation of Communication Systems. Second edition. Boston, MA: Springer US, 2000.

版本历史

Introduced before R2006a

See Also

Functions

Tools