Suppose you wish to find the area under a signal x(t) using sums. You will need the

Question:

Suppose you wish to find the area under a signal x(t) using sums. You will need the following result found above

N (N +1) Ση п: 2 Π-0


(a) Consider first x(t) = t, 0 ≤ t ≤ 1, and zero otherwise. The area under this signal is 0:5. The integral can be approximated from above and below as

N-1 Σ (nT)T, < <[u<Σ0 / tdt< ΣT. T. n=1


where NTs = 1 (i.e., we divide the interval [0; 1] into N intervals of width Ts). Graphically show for N = 4 that the above equation makes sense by showing the right and left bounds as approximations for the area under x(t).

(b) Let Ts = 0:001, use the symbolic function symsum to compute the left and right bounds for the above integral. Find the average of these results and compare it with the actual value of the integral.

(c) Verify the symbolic results by finding the sums on the left and the right of the above inequality using the summation given at the beginning of the problem. What happens when N → ∞.

(d) Write a MATLAB script to compute the area under the signal y(t) = t2 from 0 ≤ t ≤ 1. Let Ts = 0:001. Compare the average of the lower and upper bounds to the value of the integral.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Signals and Systems using MATLAB

ISBN: 978-0128142042

3rd edition

Authors: Luis Chaparro, Aydin Akan

Question Posted: