Something like the following matlab code should do it f = 1; t=[1:0.01:4*pi]; s1 = sin(2*pi*f*t); s2 = 2*sin(2*pi*f*t+pi/6); subplot(2,1,1) plot(t,s1) subplot(2,1,2) plot(t,s2) Good luck Jay