Compute the bandedge frequencies
Compute the normalized bandedge frequencies of the bandpass filters in a channelizer using the
channelizer = dsp.Channelizer; w = bandedgeFrequencies(channelizer)
w = 1×8 -2.7489 -1.9635 -1.1781 -0.3927 0.3927 1.1781 1.9635 2.7489
To compute the frequencies in Hz, pass a sampling frequency, Fs.
f is frequency in Hz.
is frequency in radians.
Here, the sampling frequency is 44,100 Hz.
f = bandedgeFrequencies(channelizer,44100)
f = 1×8 104 × -1.9294 -1.3781 -0.8269 -0.2756 0.2756 0.8269 1.3781 1.9294
obj— Input filter System object
Input filter, specified as a
Fs— Sample rate
Sample rate used to compute the bandedge frequencies in Hz, specified as a positive scalar.
w— Normalized bandedge frequencies
Normalized frequencies containing the bandedge frequencies between adjacent bandpass filters in the channelizer, returned as a row vector. The length of the vector equals the number of frequency bands.
f— Bandedge frequencies in Hz
Bandedge frequencies in Hz, returned as a row vector. The length of the
vector equals the number of frequency bands. To return the frequencies in
Hz, input the sample rate,
Fs. Frequency in Hz is given
by [w/(2π)]×Fs, where
w is the normalized frequency in rad/sample, and
Fs is the sampling rate in Hz.