anil 12

2
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 =7 t=0:n; stem(t,t) ylabel('amplitude'); xlabel('n'); OBSERVATION: RESULT: Desired waveform has been obtained.

Upload: ashok-singh

Post on 27-Jul-2015

77 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Anil 12

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.