MATLAB program for Exponential wave signal Generation
Exponential Wave:
An exponential
signal is defined as
x(t)= A(e)^(a*t)
Where both ‘A’ and ‘a’ real. If ‘a’ is positive the
signal x (t) is a growing exponential and if ‘a’ is negative then the signal x
(t) is a decaying exponential
Exponential Wave:
N=input ('Enter the duration of signal N= ');
a=input('Enter the scaling factor a=')
t=0:1:N-1;
y=exp(a*t);
stem(t,y);
title('Expontial Squence');
xlabel('Time Index');
ylabel('Amplitude');
Output waveform:
Enter the duration of signal N=
10
Enter the scaling factor a=0.3
a = 0.3000
No comments