two versions of filter response
조회 수: 1 (최근 30일)
이전 댓글 표시
we were asked to search for filter response and apparently there are two versions of them, can you please highlight which ones are they and how to get them please so we can display the frequency response.
댓글 수: 0
답변 (1개)
Star Strider
2023년 12월 3일
The only ones that I am aware of are the time domain response (showing both the unfiltered and filtered versions of the input signal), and the frequency domain response, showing the filter response as a function of frequency. The Signal Processing Toolbox functions that would provide the frequency domain response are freqs for a continuous filter, and freqz for a digital filter. The Control System Toolbox has the bode and bodeplot functions for both types of filters.
You can also create your own version by calculating the fft of the filtered and unfiltered results of a random wide-band signal and then calculating the transfer function by dividing the fft of the filtered signal by the fft of the unfiltered signal, element-wise (using ./ division rather than / division).
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!