MATLAB program for Step Wave Continous generation
PROGRAM
% step continous
n=ones(1,20); % creates an array of 20 elements with value 1;
x=0:1:19;
plot(x,n); %continous step wave
title('continous step');
xlabel('time');
ylabel('amplitude');
n=ones(1,20); % creates an array of 20 elements with value 1;
x=0:1:19;
plot(x,n); %continous step wave
title('continous step');
xlabel('time');
ylabel('amplitude');
OUTPUT

No comments:
Post a Comment