The given signal is and the sampling rate is Hz.
Let us determine the frequency of the given signal. The general expression of sinusoidal signal is
.
Equating with the given signal. We get, and . Thus, Hz.
Now, let us performing the sampling and obtain the sampled signal .
For sampling, is placed in the continuous signal.
Thus,
We need not compute 36 points of for calculation of 36-point DFT . Because, it is time consuming and not suitable. Instead, we use the properties of DFT for computation.
Now, let us split the discrete cosine signal into individual exponential components.
We know that,
Thus,
==============================================================
The N-point DFT is expressed as
Placing N = 36 in the above expression, we get
Replace with the individual components.
Grouping the powers in the exponential terms.
We know that DFT property,
The above summation expression yields and , respectively.
Because, , cross multiplying,
and , cross multiplying,
Using the DFT properties, we know that DFT coefficients are non-zero at location and .
Thus,
Since, cannot be negative in the DFT coefficients, it represents,
================================================================
The 36-point DFT coefficients are
================================================================
Let us plot x[n] for 36-point and compute X[k] and plot X[k] using MATLAB.
-------- START OF MATLAB CODE ----------
% Sampling frequency
fs = 1200;
% Signal frequency
f = 200;
% Number of points
N = 36;
% Generate index variables
n = 0:1:N-1;
% Generate the signal
x = 3*cos(2*pi*(f/fs)*n);
% Plot the discrete signal using stem function
figure,stem(n,x),title('Discrete time /sampled
signal'),xlabel('Time index'),ylabel('Amplitude'),grid on
% Compute DFT using fft function
X = fft(x, N);
% Display the coefficients
disp(X);
% Plot the DFT coefficients using stem function
figure,stem(n,abs(X)),title('DFT coefficients'),xlabel('Coefficient
index'),ylabel('Magnitude'),grid on
-------- END OF MATLAB CODE ---------------
Save the above code as 'sample.m' and run 'sample' command in MATLAB command window. Two figures are generated, the first figure is time domain signal and the second figure is DFT coefficients. Each command has a comment above the command for explanation.
Time domain signal is shown below,
DFT Coefficients plot is shown below,
==================================================================
4. A signal x()3cos(4007t) is sampled at rate of 1200 Hz to compute its 36-point DFT X[k]. a) What is Xk]? b) Plot Xk]...
MATLAB Fourier transform. Suppose that a signal x(t) is sampled with sampling frequency fs =100Hz. The sequence x[n] obtained after the sampling is given below: Take the DFT of the sampled sequence and plot its magnitude and phase. What is the frequency resolution (Δf) of your plot? N= 20, 100 Hz N= 20, 100 Hz
Problem #5 The 4-point DFT of a certain 4-point signal, x[n], is X[k] = DFT(x[n])-[ 0 Find the signal xIn] and write in terms of delayed unit samples. Answer: X[n] = 0 12 0]
36. Sampling a low-pass signal. A signal x(t) = sin( 1,000.71) is sampled at the rate of F, and sent through a unity-gain ideal low-pass filter with the cutoff frequency at F,/2. Find and plot the Fourier transform of the reconstructed signal z(t) at filter's output if a. F=20 kHz b. Fs =800 Hz
Problem 3 For the following signals, 345 points were sampled. a) 3.75 Hz signal sampled at 10 Hz b) 24.8 Hz signal sampled at 20 Hz c) 175 Hz signal sampled at 30 Hz Determine: i) The Nyquist frequency and whether the signal is aliased. ii) The values for Af and the uncertainty in the frequency ur (round to the nearest 0.001 Hz). If aliased, what is the aliased frequency (include a marked-up folding diagram, available on Canvas for Quiz...
Signal xo(t) 5 cos (200π1+ 품 ) + 4 sin (300π) is sampled at a rate of Fs = 1 kHz to obtain the discrete-time signal x[n]. (a) Determine the spectrum X(ej ) of x[n] and plot its magnitude as a function of ω rad sam in tad and as a function of F in Hz. Explain whether the original signal xe(t) can be recovered from xln]. (b) Repeat part (a) for 500 Hz. (c) Repeat part (a) for 100...
Prob.1.(6pts) Compute the 4-point i) (3pts) DFT for x(n)-l-5 4-7 -2] ii) (3pts) IDFT for X(k)-1-10 2-j6 -14 2+j6] Prob. 2. (5pts) i) (3pts)Derive the 4-point DIT (Decimation-InTime) FFT and draw its signal-flow graph representation. ii) (2pts) Using the signal-flow graph representations of the 4-point DIF FFT, calculate the 4-point DFT of X(k) for x(n)-1-5 4-7-2].
3. Signal xe)8+12e07eo+)is sampled periodically with the rate j20T (-1) F Hz to obtain the discrete-time signal x[n]. For each of the following sampling rates in Hz, determine the spectrum X(etF/F of xn and plot its magnitude and phase as a function of F in Hz. Explain whether xe(f) can be recovered fromx[n]. (a) F-50, (b) F-20, (c) F 10. 3. Signal xe)8+12e07eo+)is sampled periodically with the rate j20T (-1) F Hz to obtain the discrete-time signal x[n]. For each...
Consider an analog signal x(t) = 2 cos(2π600t). The signal is sampled at a rate 3000 samples per second and 20 samples are saved to memory. Sketch the magnitude of the length 20 DFT of the sampled data. For credit, clearly label axes, and exactly sketch the magnitudes (if you connect points in a line drawing, rather than a “stem” plot, then clearly mark the points themselves).
Consider the continous time signal x(t) - u(t) where u(t) is the unit step, sampled at a sampling period Ts- 1/4 to produce a discrete time signal rn] (a) Plot the signal r[n] over an appropriate interval (b) Compute and plot the short term energy for 10 successive blocks using a rectangular window of width 4 (c) Compute and plot the Zero Crossing Rate for 10 successive blocks using a rectangular window of width 4 Consider the continous time signal...
1. Let {X[k]}K=o be the N = 8-point DFT of the real-valued sequence x[n] = [1, 2, 3, 4]. (a) Let Y[k] = X[k]ejak + X[<k – 4 >8] be the N = 8-point DFT of a sequence y[n]. Compute y[n]. Note: Do NOT compute X[k]. (b) Let Y[k] = X*[k] be the DFT of the sequence y[n], where * denotes the conjugate. Compute the sequence y[n]. Note: Do NOT compute X[k].