As in the previous experiment, here too we had to design a digital linear phase FIR filter but using Frequency Sampling Method. In this case, we use the frequency domain analysis where the magnitude and phase of the filter are found from H(k), and then using inverse DFT, h(n) is found.
The software used was Scilab. Filter parameters like order, cut-off frequency were entered by us and the magnitude spectrum so obtained was used for comparing the stop band and pass band attenuation values with their corresponding calculated values.