anil 12
TRANSCRIPT
PROGRAM 5
AIM: Program for the generation of ramp signal.
TOOLS REQUIRED: PC, Matlab 7.0
PROGRAM: n=input('enter the length of loop sequence =');enter the length of loop sequence =7t=0:n;stem(t,t)ylabel('amplitude'); xlabel('n');
OBSERVATION:
RESULT: Desired waveform has been obtained.
PRECAUTION: 1. Observe the waveform carefully.2. Take the value of constant keeping care of all constraints.