Вы находитесь на странице: 1из 6

Code:

clc
close all
clear all
n=0:20;
a=1.2;
x=a.^(n);
subplot(221)
stem(-n,x)
xlabel('time');
ylabel('magnitude');
title('Decreasing exponential')
subplot(222)
stem(n,x)
xlabel('time');
ylabel('magnitude');
title('Increasing exponential')
subplot(223)
stem(-n,-x)
xlabel('time');
ylabel('magnitude');
title('Increasing exponential')
subplot(224)
stem(n,-x)
xlabel('time');
ylabel('magnitude');
title('Decreasing exponential')

figure;
x=a.^(-n);
subplot(221)
stem(-n,x)
xlabel('time');
ylabel('magnitude');
title('Increasing exponential')
subplot(222)
stem(n,x)
xlabel('time');
ylabel('magnitude');
title('Decreasing exponential')
subplot(223)
stem(-n,-x)
xlabel('time');
ylabel('magnitude');
title('Decreasing exponential')
subplot(224)
stem(n,-x)
xlabel('time');
ylabel('magnitude');
title('Increasing exponential')

figure;
x=-a.^(-n);
subplot(221)
stem(-n,x)
xlabel('time');
ylabel('magnitude');
title('Decreasing exponential')
subplot(222)
stem(n,x)
xlabel('time');
ylabel('magnitude');
title('Increasing exponential')
subplot(223)
stem(-n,-x)
xlabel('time');
ylabel('magnitude');
title('Increasing exponential')
subplot(224)
stem(n,-x)
xlabel('time');
ylabel('magnitude');
title('Decreasing exponential')

figure;
x=-a.^(n);
subplot(221)
stem(-n,x)
xlabel('time');
ylabel('magnitude');
title('Increasing exponential')
subplot(222)
stem(n,x)
xlabel('time');
ylabel('magnitude');
title('Decreasing exponential')
subplot(223)
stem(-n,-x)
xlabel('time');
ylabel('magnitude');
title('Decreasing exponential')
subplot(224)
stem(n,-x)
xlabel('time');
ylabel('magnitude');
title('Increasing exponential')
The exponential signal is the sequence of the form

x(n)=an

If parameter a is real, x(n) is real signal. Changing the parameter a, changes the shape of exponential
signal and it become increasing or decreasing by making ‘a’ positive or negative.

Вам также может понравиться