Homework Seven: Difference between revisions
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 28: | Line 28: | ||
[[Image:original.jpg |thumb|center|upright=2|Figure 6: Original signal obtained using a lowpass filter.]] |
[[Image:original.jpg |thumb|center|upright=2|Figure 6: Original signal obtained using a lowpass filter.]] |
||
So what have we accomplished? We have taken a signal (Figure 1), prepared it to be sampled (Figure 2 & 3), sampled it at a sampling rate of <math>\textstyle f_s = \frac{1}{T} </math> (Figure 4), and used a lowpass filter to collect the original (now sampled) signal (Figure 5). |
So what have we accomplished? We have taken a signal (Figure 1), prepared it to be sampled (Figure 2 & 3), sampled it at a sampling rate of <math>\textstyle f_s = \frac{1}{T} </math> (Figure 4), and used a lowpass filter to collect the original (now sampled) signal (Figure 5 & 6). |
||
<br/> |
|||
<br/> |
|||
Our next task is to find an expression of x(t) in terms of x(nT). To accomplish this, recall from class that the transfer function of the lowpass filter is |
|||
<br/> |
|||
<br/> |
|||
<math>H(f)=\begin{cases} T, & \mbox{ } |f| < \frac{1}{2T} \\ 0, & \mbox{ else } \end{cases}\!</math><br><br> |
|||
<br/> |
|||
So to find the transfer function in the time-domain we simply need to find the inverse Fourier Transform of H(f): |
|||
<math> h(t) = \mathcal{F}^{-1}[H(f)] = \int_{-\frac{1}{2T}}^{\frac{1}{2T}}Te^{j2 \pi ft} \,df = \frac{Te^{j2 \pi ft}}{j2 \pi t} \Bigg|_{-\frac{1}{2T}}^{\frac{1}{2T}} = \frac{T}{\pi t}\left[ \frac{e^{j \pi t/T}-e^{-j \pi t/T}}{j2}\right] </math> |
|||
By Euler's Identiy, however, we can see that |
|||
<br/> |
|||
<br/> |
|||
<math> \frac{T}{\pi t}\left[ \frac{e^{j \pi t/T}-e^{-j \pi t/T}}{j2}\right] = \frac{T}{\pi t} sin \left( \frac{ \pi t}{T} \right) </math> |
|||
<br/> |
|||
<br/> |
|||
Recall that <math>\textstyle sinc(\theta ) = \frac{sin(\pi \theta )}{\pi \theta }</math>. Thus, |
|||
<br/> |
|||
<br/> |
|||
<math> \frac{sin \left( \frac{ \pi t}{T} \right)}{\frac{\pi t}{T}} = sinc\left( \frac{t}{T} \right) \Longrightarrow h(t) = sinc\left( \frac{t}{T} \right)</math> |
|||
<br/> |
|||
<br/> |
|||
We learned in class that <math> \textstyle x'(t) = \sum_{n=-\infty }^{\infty}x(nT)\delta (t-nT)</math> and, thus, we must convolve <math>\textstyle x'(t) \mbox{ with } h(t)</math> to find the function of <math>\textstyle x(t) </math> desired: |
|||
<br/> |
|||
<br/> |
|||
<math> x(t) = x'(t)*h(t) = \sum_{n=-\infty }^{\infty}x(nT)\delta (t-nT)*\left[ sinc\left( \frac{t}{T} \right) \right] |
|||
= \sum_{n=-\infty }^{\infty}x(nT) \mbox{ } sinc\left( \frac{t-nT}{T} \right) |
|||
</math> |
|||
<br/> |
|||
<br/> |
|||
Therefore, the original signal (in terms of <math> \scriptstyle x(nT)</math>) is |
|||
<br/> |
|||
<br/> |
|||
<math> x(t)= \sum_{n=-\infty }^{\infty}x(nT) \mbox{ } sinc\left( \frac{t-nT}{T} \right) = \sum_{n=-\infty }^{\infty}\frac{x(nT) \mbox{ } sin \left( \frac{\pi (t-nT)}{T} \right)}{\frac{\pi (t-nT)}{T}}</math> |
Latest revision as of 17:17, 29 November 2009
Figure out what happens if your sampled signal, x(t), has frequency components only for . Can you recover the original signal from it? If so, find the expression for x(t) in terms of x(nt).
Imagine we have an original signal that has the following frequency plot, centered about the "zero frequency" origin:
In order to analyze this signal we must look at both the positive and negative frequency aspects -- therefore, we will split the signal into two parts, positive and negative:
To "send the signal" we must essentially move it to a higher frequency and, remembering that x(t) has frequency components for , we get the following signal, :
Finally, we need to sample the signal at a rate of . Theoretically, this leads to the following frequency plot:
In order to get the original signal, we simply need to create a lowpass filter that will essentially encompass the the original (desired) signal and filter out any high frequency components:
So what have we accomplished? We have taken a signal (Figure 1), prepared it to be sampled (Figure 2 & 3), sampled it at a sampling rate of (Figure 4), and used a lowpass filter to collect the original (now sampled) signal (Figure 5 & 6).
Our next task is to find an expression of x(t) in terms of x(nT). To accomplish this, recall from class that the transfer function of the lowpass filter is
So to find the transfer function in the time-domain we simply need to find the inverse Fourier Transform of H(f):
By Euler's Identiy, however, we can see that
Recall that . Thus,
We learned in class that and, thus, we must convolve to find the function of desired:
Therefore, the original signal (in terms of ) is