I obtained the frequency response and the phase below. when i plotted it did not look right.
Can please help me to plot it using the freqz command.
angle(H(e^jw)= tan ^-1(sin(w)-2*sin(w)+4*sin(3*w)-4*sin(5*w)+3sin(6*w)-2*sin(7*w)+sin(8*w))/(1-2*cos(w)+3*cos(2*w)-4*cos(3*w)+4*cos(5*w)-3*cos(6*w)+2*cos(7*w)-8*cos(8*w)