% Simple Demo of cration and display of simple wavbeforms in MATLAB


% Basic 1 period Simple Sine wave

i=0:0.2:2*pi;
y = sin(i);
figure(1)
plot(y);
title('Simple 1 Period Sine Wave');


% Now Change amplitude

amp = 2.0;

y = 2*sin(i);

figure(2)
plot(y);
title('Simple 1 Period Sine Wave Modified Amplitude');
