Showing posts with label exponential. Show all posts
Showing posts with label exponential. Show all posts

MATLAB program to find the Fourier transform of an exponential curve

Progam code
clc;
clear all;
close all;
t=0:0.001:1;
a=input('Please enter the multiplication factor of an exponential curve ');
cwtstruct = cwtft(exp(a*t),'plot');

Example of output
Please enter the multiplication factor of an exponential curve  5


_____________________________

MATLAB program for exponential waveform generation

Program Code
n=0:0.01:5;
a=2;
y=exp(-a*n);
plot (n,y);
xlabel ('Time');
ylabel ('Amplitude');
title ('Exponential waveform');
grid on;



Output

________________________