close all,
clear all,
clc,
Ts = (2*pi)/60;
Fs=1/Ts;
w = -2*pi:Ts:2*pi;
t =-1:Ts:1;
for r=1:length(t)
x_t(r) =
Ts*(pi/2)*(sin(2*t(r))/(pi*t(r)))*(sin(8*t(r))/(pi*t(r)));
end
subplot(2,1,1); plot(x_t); title('Original Signal x_t =
Ts*(pi/2)*(sin(2*t)/(pi*t))*(sin(8*t)/(pi*t)), Ts =
(2*pi)/60');
L=length(x_t);
NFFT = 2^nextpow2(L); % Next power of 2 from length of y
Y = fft(x_t,NFFT)/L;
f = Fs/2*linspace(0,1,NFFT/2);
% Plot single-sided amplitude spectrum.
subplot(2,1,2); plot(f,2*abs(Y(1:NFFT/2)));
str = strcat('FFT at N = ',num2str(NFFT),' Points');
title(str);
xlabel('Frequency (Hz)'); ylabel('|Y(f)|');
figure,
Ts = (2*pi)/18;
Fs=1/Ts;
w = -2*pi:Ts:2*pi;
t =-1:Ts:1;
for r=1:length(t)
x_t(r) =
Ts*(pi/2)*(sin(2*t(r))/(pi*t(r)))*(sin(8*t(r))/(pi*t(r)));
end
subplot(2,1,1); plot(x_t); title('Original Signal x_t =
Ts*(pi/2)*(sin(2*t)/(pi*t))*(sin(8*t)/(pi*t)), Ts =
(2*pi)/18');
L=length(x_t);
NFFT = 2^nextpow2(L); % Next power of 2 from length of y
Y = fft(x_t,NFFT)/L;
f = Fs/2*linspace(0,1,NFFT/2);
% Plot single-sided amplitude spectrum.
subplot(2,1,2); plot(f,2*abs(Y(1:NFFT/2)));
str = strcat('FFT at N = ',num2str(NFFT),' Points');
title(str);
xlabel('Frequency (Hz)'); ylabel('|Y(f)|');
Consider the continuous time signal: 2. , π (sin (2t) (Sin (8t) A discrete time signal x[n] -xs(t) -x(nTs) is created by sampling x() with sampling interval, 2it 60 a) Plot the Fourier Transform of t...
Problem 2 Consider a continuous-time signal x(t), of which the Fourier transform is ( 21f # (1)= 1° X(t)e=1218i dt = le 1000 15 1 400 lo otherwise Discrete-time signal x[n] is obtained by sampling x(t) at sampling at every 1 us -i.e., x[n] = xy(10ºn). (a) Write discrete-time Fourier transform of x[n], X (elo). (b) Plot the magnitude and phase response of X (ejm).
Q2.) Consider the sampling of the continuous-time signal x(t) to obtain a discrete-time signal x[n (1)-10cos(1000m + π/3) + 20cos(2000m + π/6). 110points! ], where x a) What is the maximum sampling interval (minimum sampling frequency) that could be used to ensure an aliasing free sampling of this signal? b) Plot the spectrum of the sampled signal if x() is sampled using a sampling frequency of (i) 2500 Hz (ii) 1800 Hz and state whether there will be an aliasing...
10. Find the Fourier transform of a continuous-time signal x(t) = 10e Su(t). Plot the magnitude spectrum and the phase spectrum. If the signal is going to be sampled, what should be the minimum sampling frequency so that the aliasing error is less than 0.1 % of the maximum original magnitude at half the sampling frequency. 11. A signal x(t) = 5cos(2nt + 1/6) is sampled at every 0.2 seconds. Find the sequence obtained over the interval 0 st 3...
Q. 2 A continuous time signal x(t) has the Continuous Time Fourier Transform shown in Fig 2. Xc() -80007 0 80001 2 (rad/s) Fig 2 According to the sampling theorem, find the maximum allowable sampling period T for this signal. Also plot the Fourier Transforms of the sampled signal X:(j) and X(elo). Label the resulting signals appropriately (both in frequency and amplitude axis). Assuming that the sampling period is increased 1.2 times, what is the new sampling frequency 2? What...
Consider the discrete time signal x[n]: 13 -5 10 2.5 Compute the discrete time Fourier transform (DTFT) X (A). Find the period ofX(Q). Hint: First write the x[n] showed above as two pulse functions then take the DTFT using the equation given below Express discrete Fourier transform (DFT) of x[n] using DTFT X(Q). a. b. Consider the discrete time signal x[n]: 13 -5 10 2.5 Compute the discrete time Fourier transform (DTFT) X (A). Find the period ofX(Q). Hint: First...
# 1 : Imagine that you have a continuous-time signal x(t) whose continuous-time Fourier transform is as given below -25 -20 f, Hz -10 10 20 25 (a) (10 pts) Imagine that this signal is sampled at the sampling rate of F, 65 Hz. Sketch the FT of the resulting signal that would be at the output of an ideal DAC (like we discussed in class) when given these samples. (b) (10 pts) Repeat part (a) for the case that...
Problem 3: Sampling a Cosine (again) The continuous-time signal ra(t) = cos (150) is sampled with sampling period T, to obtain a discrete-time signal x[n] = XanT). 1. Compute and sketch the magnitude of the continuous-time Fourier transform of ra(t) and the discrete-time Fourier Transform of x[n] for T, = 1 ms and T, = 2 ms. 2. What is the maximum sampling period Ts max such that no aliasing occurs in the sampling process?
10ρ 18ρ A signal (t) has the Fourier transform X(jw) indicated in the figure. The signal is sampled to obtain the discrete time signal 1. Sketch the Fourier transform Xr(jw) of x[n] for T-to. 2. Can x(t) be recovered for T? How? What is the maximum value of T so that r(t) can be recovered? 10ρ 18ρ A signal (t) has the Fourier transform X(jw) indicated in the figure. The signal is sampled to obtain the discrete time signal 1....
(a) Determine the Fourier transform of x(t) 26(t-1)-6(t-3) (b) Compute the convolution sum of the following signals, (6%) [696] (c) The Fourier transform of a continuous-time signal a(t) is given below. Determine the [696] total energy of (t) 4 sin w (d) Determine the DC value and the average power of the following periodic signal. (6%) 0.5 0.5 (e) Determine the Nyquist rate for the following signal. (6%) x(t) = [1-0.78 cos(50nt + π/4)]2. (f) Sketch the frequency spectrum of...
Consider a sampler which samples the continuous-time input signal x(t) at a sampling frequency fs = 8000 Hz and produces at its output a sampled discrete-time signal x$(t) = x(nTs), where To = 1/fs is the sampling period. If the sampled signal is passed through a unity-gain lowpass filter with cutoff frequency of fs/2, sketch the magnitude spectrum of the resulting signal for the following input signals: (a) x(t) = cos(6000nt). (b) x(t) = cos(12000nt). (c) x(t) = cos(18000nt).