Homework 2: Linear Systems Responses

1. Pick any arbitrary poles and zeros to generate a real-valued rational stable impulse response and compute the AR amd MA coeficients.
2. Compute and display the impulse response.
3. Compute and display the magnitude and phase response up to Nyquist frequency, i.e. show only positive frequencies. Do not use freqz(), instead, generate the graphs "by hand" starting with the fft.
Make sure you label the time and frequency axes appropriately in all your figures (remember to use functions xlabel, ylabel, xlim, ylim, title, legend). That means you will have to pick a sampling frequency.
4. Generate a sinusouid of some reasonable frequency and fitler the signal with the corresponsing ARMA filter. Display input and output.
5. Determine from this last plot the (empirical) amplitude and phase response for this specific frequency you have chosen and mark those values in the graph from item 3. above. (use "hold on")