Write a MATLAB program to design an IIR (Infinite Impulse Response) filter according to the following specifications.
Step 1: Select the type of approximation, filter, pass band, stop band,sampling frequency, pass band attenuation & stop band attenuation.
Step 2: Normalize the edge frequency.
Step 3: Calculate the order and the cut-off frequency.
Step 4: Calculate the transfer function co-efficient.
Step 5: Plot the magnitude response.
Step 1: Select the type of approximation, filter, pass band, stop band,sampling frequency, pass band attenuation & stop band attenuation.
Step 2: Normalize the edge frequency.
Step 3: Calculate the order and the cut-off frequency.
Step 4: Calculate the transfer function co-efficient.
Step 5: Plot the magnitude response.