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
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKST2Nn9GjaoiENgJXy9Sw4Dj460LCFn0uivti5SYKtt2grOzAiVhQEWJ-fuSKB34WnZ-bZOjEz8c7vNWqqgatspdC2K6VxYcV-yibUU7xNncSOuyzlVBdfJlO3AiTzTVY5_jOyfA0dNn_/s400/stepc.jpg)
No comments:
Post a Comment