Compute center frequencies
Center Frequencies of Channelizer
Compute the normalized center frequencies of the bandpass filters in a channelizer using the
channelizer = dsp.Channelizer; w = centerFrequencies(channelizer)
w = 1×8 -3.1416 -2.3562 -1.5708 -0.7854 0 0.7854 1.5708 2.3562
To compute the frequencies in Hz, pass a sampling frequency. Frequency in Hz, f, equals , where w is frequency in radians, and Fs is the sampling rate.
f = centerFrequencies(channelizer,44100)
f = 1×8 104 × -2.2050 -1.6538 -1.1025 -0.5513 0 0.5513 1.1025 1.6538
obj — Input filter System object
Input filter, specified as a
Fs — Sample rate
Sample rate used to compute the center frequencies in Hz, specified as a positive scalar.
w — Normalized center frequencies
Normalized frequencies containing the center frequencies of all the bandpass filters in the channelizer, returned as a row vector. The length of the vector equals the number of frequency bands.
f — Center frequencies in Hz
Center 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.
Introduced in R2017b