SLIDE 35 set(h(1),’MarkerFaceColor’,’g’); hold off; xlim([0 N+1]); ylim([0 1.05]); ylabel(’x_1[n]’); title(’Example of Time-Division Multiplexing’); box off; subplot(4,1,2); h = stem(k,x2,’b’); set(h(1),’MarkerSize’,2); set(h(1),’MarkerFaceColor’,’b’); hold off; xlim([0 N+1]); ylim([0 1.05]); ylabel(’x_2[n]’); box off; subplot(4,1,3); h = stem(k,x3,’r’); set(h(1),’MarkerSize’,2); set(h(1),’MarkerFaceColor’,’r’); hold off; xlim([0 N+1]); ylim([0 1.05]); ylabel(’x_3[n]’); box off; subplot(4,1,4); h = plot(t,yr,’k’); hold on; h = stem(k1,y(k1),’g’); set(h(1),’MarkerSize’,2); set(h(1),’MarkerFaceColor’,’g’); set(h(3),’Visible’,’Off’); h = stem(k2,y(k2),’b’); set(h(1),’MarkerSize’,2); set(h(1),’MarkerFaceColor’,’b’); set(h(3),’Visible’,’Off’); h = stem(k3,y(k3),’r’);
Portland State University ECE 223 Communications
35