GENERATION OF RAMP SEQUENCE

clc;
close all;
clear all;
n1=input('Enter the length of Ramp Sequence:');
t=0:n1;
stem(t,t);
ylabel('Amplitude');
xlabel('Time');
title('Ramp Sequence');

Input:

Enter the length of Ramp Sequence:5

Output:

No comments:

Post a Comment