Question: 1) Consider the sinusoidal signal x(t) = sin(not) = If x(t) is sampled with frequency 2, = 2/T rad/sec then the discrete-time signal x[n]

I) Consider the sinusoidal signal x(t)sin(2ot) If x(t) is sampled with frequency Ω,-2π/T rad/sec then the discrete-time signal x[n] x (nT) is equal to Assume the sampling frequency is fixed at s2t (8192) rad/sec. a) Assume Ω0-2m(1000) rad/sec and define T = 1/8 192. Create the vector n = [0: 8191] so that t = n * T contains the contains the 8192 time samples of the interval 0 t < 1 Create a vector x which contains the samples of x(t) at the time samples in t. b) Display the first fifty samples of x[n] versus n using stem. Display the first fifty samples of x(t) versus the sampling times using plot. (Use subplot to simultaneously display these two plots.) 2) In the following problems, you will use both bandlimited and linear interpolation to reconstruct the following signals 0, otherwise, from samples obtained at sample times t = nT with T = 1/2 a) Create a vector ts which contains the sampling times t = nT on the interval It! 4. Store in the vectors xs1 and xs2 the samples of x1 (t) and x2(t) at the corresponding times in ts Use stem to plot xs1 and xs2 versus ts. To reconstruct X1(t) and χ2(t) from these samples, note that the reconstructed signals can only be computed at a finite number of samples in MATLAB. Therefore, you will calculate the interpolated signals only at t = n/8 on the interval |t| 2. In other words, on the interval Itl S 2 you will calculate three samples in between every sample contained in xs1 and xs2 The sampling interval of the interpolated signal is thus Ts 1/8. Call y1bl(t) and y2bl(t) the signals given by interpolating the samples of x1 (t) and x2(t) with the interpolating filter hblf(t). Similarly, call Vilin(t) and y2lin (t) the signals given by interpolating the samples of x,(t) and x2(t) with the linear interpolator hin(t) b) Set T,-1/8, and create a vector of the interpolation times t,-[-2: T,: 2]. Store in the vectors hbl and hlin the values of huir(t) and hin(t) at the interpolation times. Use plot to display these two impulse responses versus t sample times ts? The peak value of each impulse response should be at 0 i. What are the values of impulse responsesat 

1) Consider the sinusoidal signal x(t) = sin(not) = If x(t) is sampled with frequency 2, = 2/T rad/sec then the discrete-time signal x[n] x(nT) is equal to x[n] = sin(nonT) Assume the sampling frequency is fixed at 2, = 27(8192) rad/sec. a) Assume 2, = 27 (1000) rad/sec and define T = 1/8192. Create the vector n = [0:8191], so that t = n* T contains the contains the 8192 time samples of the interval 0 < t < 1. Create a vector x which contains the samples of x(t) at the time samples in t. b) Display the first fifty samples of x[n] versus n using stem. Display the first fifty samples of x(t) versus the sampling times using plot. (Use subplot to simultaneously display these two plots.) 2) In the following problems, you will use both bandlimited and linear interpolation to reconstruct the following signals T (t): cos (), I(t)= )={- 1-t\/2, t 2, 0, otherwise, from samples obtained at sample times t = nT with T = 1/2. a) Create a vector ts which contains the sampling times t = nT on the interval |t| 4. Store in the vectors xs1 and xs2 the samples of x (t) and x (t) at the corresponding times in ts. Use stem to plot xs1 and xs2 versus ts. To reconstruct x (t) and x (t) from these samples, note that the reconstructed signals can only be computed at a finite number of samples in MATLAB. Therefore, you will calculate the interpolated signals only at t = n/8 on the interval [t] 2. In other words, on the interval |t| 2 you will calculate three samples in between every sample contained in xs1 and xs2. The sampling interval of the interpolated signal is thus T, = 1/8. Call ybl(t) and y2b (t) the signals given by interpolating the samples of x (t) and x (t) with the interpolating filter holf (t). Similarly, call ylin (t) and yzlin (t) the signals given by interpolating the samples of x (t) and x (t) with the linear interpolator hun (t). b) Set T = 1/8, and create a vector of the interpolation times t = [-2: T: 2]. Store in the vectors hbl and hlin the values of hof (t) and hun (t) at the interpolation times. Use plot to display these two impulse responses versus ti. What are the values of impulse responses at the sample times ts? The peak value of each impulse response should be at t = 0. =

Step by Step Solution

3.33 Rating (147 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Commands 1 T18192 wo2pi1000ws2piT n0... View full answer

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 Accounting Questions!