1) Consider the sinusoidal signal x(t) = sin(not) = If x(t) is sampled with frequency 2,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 yıbl(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 yılin (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. = 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 yıbl(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 yılin (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. =
Expert Answer:
Related Book For
Posted Date:
Students also viewed these accounting questions
-
If r(t) = sin 2t i + cosh t j and h(t) = ln (3t - 2), find Dt[h(t)r(t)].
-
If x1, x2,...., xn span a vector space V, then they are linearly independent.
-
Consider a sample x1, ... , xn with n even. Let L and U denote the average of the smallest n/2 and the largest n/2 observations, respectively. Show that the mean absolute deviation from the median...
-
Amrito Corporation is under financial distress and raises debt because it has several projects that are expected to generate profit in the future. When calculating its weighted average cost of...
-
Suppose that turmoil in Turkey caused nervous investors to sell $3.5 billion worth of Turkish-lira bonds and invest the proceeds in euro-denominated securities. Assume that at the time, Turkey's...
-
You've slammed on the brakes and your car is skidding to a stop while going down a 20 hill. Describe a situation. For each problem, draw a motion diagram, a force identification diagram, and a free...
-
Using \(q_{0.05}=4.339\) for the Tukey HSD method, compare the treatments in Exercise 12.45. Data From Exercise 12.45 12.45 Given the following data from a randomized block design, Blocks 1 234...
-
This problem continues the Davis Consulting situation from Problem P7-33 of Chapter 7. Davis reviewed the receivables list from the January transactions. Davis uses the allowance method for...
-
Apple business is currently operating in the country of China and you were asked to report on different aspects of the business as you consider international expansion. By now, you should have a good...
-
The homework is the BITS Corporation Exercises: QBE on pg 70, #2, 3, 4, 5, 6, 8, 9, 10, 12 and 13. Draw the lower pane of the QBE design grid. Do NOT use Access to complete the exercises. Do NOT give...
-
1.The RN is documenting the patients complaint of pain rated 6 on a scale of 0 to 10. Which chart entry would be the most appropriate, if made by the nurse? a.Pt. complaining of pain. MD notified....
-
One afternoon Hardy developed intense chest pains while working in his garden. His neighbor Sam noticed his distress and rushed him to the hospital. The receptionist at the hospital insisted that...
-
2. Two students push horizontally on a large, 75 kg trunk. The trunk moves east with an acceleration of 3.0 m/s. One student pushes with a force of 2.4 x 102 N [E 45 S]. The force of friction acting...
-
On February 13, 2019, several weeks before the COVID lockdowns and while walking to Brooklyn Law School in Brooklyn, New York, John, who is a law student, slips and falls while walking past a hot dog...
-
Ted Jackson is walking down Main Street with his son Hank when they are both hit by Sue's car at the crosswalk. Ted spends three months in the hospital recovering. Hank is in the hospital for two...
-
As previously mentioned, police officers and other law enforcement professionals are afforded the ability to exercise significant discretion when performing their day-to-day duties. Unfortunately,...
-
How does one go about this situation? You are a Sr. Director of Merchandising for a women's luxury designer. Your boss, the VP of the division can be very demanding and isn't always clear on what she...
-
Assume that your audit team has established the following parameters for the examination of ELM's sales transactions: LO G-3 Risk of incorrect acceptance...
-
A passive RLC filter is represented by the ordinary differential equation where x(t) is the input and y(t) is the output. (a) Find the transfer function H(s) of the filter and indicate what type of...
-
A desirable signal x(t) = cos(100t) 2 cos(50 t) is recorded as y(t) = x(t) + cos(120r t), i.e., as the desired signal but with a 60 Hz hum. We would like to get rid of the hum and recover the...
-
The input and the output of an LTI causal discrete-time system are Input: x[n] = u[n] u[n 3], Output : y[n] = u[n 1] u[n 4] (a) What should be the length of the impulse response h[n] of the...
-
Determine the static deflections in each of the springs in the system of Figure P2.22. 40 cm 20 cm 1 x 105 N/m 2 x 105 N/m FIGURE P 2.22 4 kg
-
A \(30 \mathrm{~kg}\) compressor sits on four springs, each of stiffness \(1 \times 10^{4} \mathrm{~N} / \mathrm{m}\). What is the static deflection of each spring.
-
The propeller of a ship is a tapered circular cylinder, as shown in Figure P2.24. When installed in the ship, one end of the propeller is constrained from longitudinal motion relative to the ship...
Study smarter with the SolutionInn App