experiment6matlab 1

2
EXPERIMENT -6 AIM:- Program for generation of the exponential signal TOOLS REQUIRED :- PC, MATLAB 7.0 PROGRAM: - n=input('enter lenght of eponential sequence'); t=0:n; a=input('enter the value of a'); y=exp(a*t); stem(t,y); ylabel('amplitude'); xlabel('n'); OBSERVATION:] Enter length of exponential sequence= 7 Value of a=1 RESULT:- Exponential signal has been obtained.

Upload: ashok-singh

Post on 27-Jul-2015

54 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Experiment6matlab 1

EXPERIMENT -6

AIM:-Program for generation of the exponential signal

TOOLS REQUIRED :- PC, MATLAB 7.0

PROGRAM: - n=input('enter lenght of eponential sequence');t=0:n;a=input('enter the value of a');y=exp(a*t);stem(t,y);ylabel('amplitude');xlabel('n');

OBSERVATION:] Enter length of exponential sequence= 7 Value of a=1

RESULT:-Exponential signal has been obtained.

PRECAUTION:-1. Type the program carefully.2. Observe the signal carefully.