%% L05_Hz %% ============== %% Script to analyse tranfer function in matlab. %% See Problem Set 04: Q1 (a) %% %% Created : 31 July 2005 %% Modified : 31 July 2005 %% %% Copyright (c) 2005 Salman Durrani . %% ------------------------------------------------------------ clc clear all %% Specify transfer function H(z) coefficients in standard DSP form num=[1 1/3]; den=[1 -1/2]; %% pole zero map figure zplane(num,den) %% impulse response h[n] figure impz(num,den) %% step response figure stepz(num,den)