Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Applied mathematics. Assignment attached

1 answer below »
Applied mathematics. Assignment attached
Answered Same Day May 17, 2021

Solution

Sandeep answered on May 28 2021
143 Votes
que1.m
clc;
clear all;
close all;
t=0:0.01:20;
f= exp(-t).*cos(9.*t);
figure;
plot(t,f)
xlabel('t------>')
ylabel('f------>')
title('Plot of f vs t')
clc;
clear all;
close all;
Fsamp = 100; % Sampling frequency
T = 1/Fsamp; % Sampling period
L = 150; % Length of signal
t = (0:L-1)*T; % Time vecto
f= exp(-t).*cos(9.*t);
Y = fft(f);
Part2 = abs(Y/L);
Part1 = Part2(1:L/2+1);
Part1(2:end-1) = 2*Part1(2:end-1);
f = Fsamp*(0:(L/2))/L;
figure;
plot(f,Part1)
title('Amplitude Spectrum of X(t)')
xlabel('f (Hz)')
ylabel('|(f)|')
que3.m
clc;
clear all;
close all;
f1=0;
t=-3:0.01:3;
f1= (9-t.^2).*sin(8.*t);
figure;
plot(t,f1)
xlabel('t------>')
ylabel('f------>')
title('Plot of f vs t')
clc;
clear all;
close all;
Fsamp = 100; % Sampling frequency
T = 1/Fsamp; % Sampling period
L = 11; % Length of signal
t = (-L+1:L-1)*T; % Time vecto
f= (9-t.^2).*sin(8.*t);
Y = fft(f);
Part2 = abs(Y/L);
Part1 = Part2(1:L/2+1);
Part1(2:end-1) = 2*Part1(2:end-1);
f = Fsamp*(0:(L/2))/L;
figure;
plot(f,Part1)...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here