Untitled

Anonymous
MATLAB
11/29/2026 3:37 AM
370 B
6
Indexable
Never
clc;
clear all;
close all;

% Generation of Discrete Exponential Signals

n = 0:20;

A = 1;

% Growing exponential signal
a1 = 1.2;
x1 = A*(a1.^n);

% Decaying exponential signal
a2 = 0.8;
x2 = A*(a2.^n);

% Plot growing signal
subplot(2,1,1);
stem(n,x1,'filled');

xlabel('Sample Index (n)');
ylabel('Amplitude');
title('Discrete Growing Exponential Signal');
grid on;
Editor is loading...
Leave a Comment