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...
-
The following computer output is from fitting a regression model to the snake length data of Example 12.2.2. The regression equation is Weight = -301 + 7.19 Length s = 12.50 R-sq = 89.1% R-sq(adj) =...
-
Problem 2: A single-piece bicycle crank is shown below under the following loading scenario: the rider is pedaling forward by applying a vertical force Fp = 500 N on the left pedal and no force on...
-
Imagine that the banking system receives additional deposits of 100 million and that all the individual banks wish to retain their current liquidity ratio of 20 per cent. (a) How much will banks...
-
During the current year, merchandise is sold for $1,375,000. The cost of the merchandise sold is $880,000. a. What is the amount of the gross profit? b. Compute the gross profit percentage (gross...
-
In your opinion, are there other criminological theories that are connected with social disorganization theory in how they relate to society? If so, which theories and how are they correlated? 2....
-
A project consists of 10 activities, lettered A through J, as shown in the accompanying precedence diagram, with the activities on the arrows. For each activity, the deterministic time estimate in...
-
I have been to a great deal of sporting events over the years. When I went to a few soccer games in England I noticed that there was a betting window as you entered the stadium. Is gambling good for...
-
With its current leverage, Impi Corporation will have net income next year of $9.5 million. If Impis corporate tax rate is 30% and it pays 8% interest on its debt, how much additional debt can Impi...
-
Suppose the stock of Host Hotels & Resorts is currently trading for $21 per share. a. If Host issues a 23% stock dividend, what would its new share price be? b. If Host does a 3:2 stock split, what...
-
Consider a firm whose only asset is a plot of vacant land, and whose only liability is debt of $14.9 million due in one year. If left vacant, the land will be worth $10.3 million in one year....
-
After the market close on May 11, 2018, Adaptec, Inc., distributed a dividend of shares of the stock of its software division, Roxio, Inc. Each Adaptec shareholder received 0.1606 share of Roxio...
-
Recall from Example 10.4 that more women (29.1%) than men (11.1%) are excluded from the astronaut pilot program by the minimum and maximum height restrictions. What value of minimum height for women...
-
What do you think is optimal for proper supply chain management to ensure that there is communication with each part, spot potential problems before they arise, and prevent bottlenecks?
-
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...
-
A client who is a director of a publicly listed corporation is required by law to refrain from trading that companys stock at certain points of the year when disclosure of financial results are...
-
Tactical asset allocation is best described as: A. Attempts to exploit arbitrage possibilities among asset classes. B. The decision to deliberately deviate from the policy portfolio. C. Selecting...
-
The timing of payouts for property and casualty insurers is unpredictable (lumpy) in comparison with the timing of payouts for life insurance companies. Therefore, in general, property and casualty...
Study smarter with the SolutionInn App