MATLAB: FREQZ plot

390 Views Asked by At

The following code plots the frequency response of 2 systems. However, the second phase plot is not showing on the plot.

freqz(X)
hold on
freqz(y)
lines = findall(gcf,'type','line');
lines(1).Color = 'red'
lines(2).Color = 'green'
lines(3).Color = 'red'
lines(4).Color = 'green'

enter image description here

How do i add the second phase plot onto the graph?

0

There are 0 best solutions below