The aim of the experiment was to design digital filter using frequency sampling method. The magnitude and phase spectrum were plotted for LPF and HPF.
It was observed that the phase plot is similar. Also, if the order of LPF and HPF are same, then the phase plot for both the filters is also same. The observed and calculated values of As and Ap were verified.
link for the code:
https://drive.google.com/file/d/0B9FCQ_loE3PaQ0haUllPWkMweVk/view?usp=sharing
FSM is computationally more efficient.
ReplyDeleteI think that the phase plot for same order LPF and HPF will be similar and not same. It appears so because of the discontinuity observed at magnitude 0 and phase tries to be in the range of pi to -pi.
ReplyDeleteThank you for the information Praneet.
DeleteFSM is better as it requires less computation
ReplyDeleteYes. That's right.
Deletefor the same values of attenuation in stop band and pass band, pass band and stop band frequencies and sampling frequencies the order of the FIR filter is much higher compared to that of the IIR filter.
ReplyDeleteMathematically, FSM is very efficient but the practical implementation is not as simple.
ReplyDelete