Question: 1 Plot the following function and its corresponding Fourier Transform using MATLAB from to . 2 Plot the following function using MATLAB Sol13: Here are

1 Plot the following function and its corresponding Fourier Transform using MATLAB from to .

2 Plot the following function using MATLAB

Sol13:

Here are the MATLAB codes and plots for the given functions:

  1. Function and Fourier Transform plot:

% Function plot

t = 0:0.01:50;

f = 12*exp(-3*t).*heaviside(t);

subplot(2,1,1);

plot(t,f);

xlabel('Time (s)');

ylabel('f(t)');

title('Function Plot');

% Fourier Transform plot

F = fft(f)/length(f);

frequencies = linspace(-1/(2*(t(2)-t(1))), 1/(2*(t(2)-t(1))), length(f));

subplot(2,1,2);

plot(frequencies, abs(fftshift(F)));

xlabel('Frequency (Hz)');

ylabel('|F(w)|');

title('Fourier Transform Plot');

  1. Function plot:

% Function plot

x = -5:0.01:5;

f = x.^4 + 3*x.^3 + 4*x.^2 + 2*x + 6;

plot(x,f);

xlabel('x');

ylabel('f(x)');

title('Function Plot');

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!