Obtain single-stage filters
src, a multistage sample rate converter with default properties.
src converts between 192 kHz and 44.1 kHz. Find the individual filters that are cascaded together to perform the conversion.
src = dsp.SampleRateConverter; c = getFilters(src);
Visualize the frequency response of the decimator used in the first stage of the process.
m = c.Stage1; [h,w] = freqz(m); plot(w/pi,20*log10(abs(h))) xlabel('\omega / \pi') ylabel('Magnitude (dB)')
src— Multistage sample rate converter
Multistage sample rate converter, specified as a
c— Single-stage filters
Single-stage filters, returned as a