01.05.2017 Views

563489578934

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Problems 117<br />

b. Given the RC low-pass filter transfer function<br />

where f 0 = 1 Hz, use the inverse fast Fourier transform (IFFT) of MATLAB to calculate<br />

the impulse response h(t).<br />

Solution.<br />

H(f) =<br />

(a) From Eq. (2–30), the ICFT is<br />

Referring to the discussion leading up to Eq. (2–184), the ICFT is approximated by<br />

But ¢t = T/N,¢f = 1/T, and f s = 1/¢t, so<br />

q<br />

w(t) = W(f)e j2pft df<br />

L<br />

-q<br />

1<br />

1 + j(f/f 0 )<br />

w(k¢t) L©W(n¢f)e j2pn¢fk¢t ¢f<br />

w(k¢t) L Nc 1 N ©W(n¢f)ej(2p/N)nk d ¢f<br />

Using the definition of the IDFT as given by Eq. (2–177), we find that the ICFT is related to the<br />

IDFT by<br />

w(k¢t) L f s x(k)<br />

(2–207)<br />

where x(k) is the kth element of the N-element IDFT vector. As indicated in the discussion<br />

leading up to Eq. (2–184), the elements of the X vector are chosen so that the first N/2 elements<br />

are samples of the positive frequency components of W(f), where f = n¢f, and the<br />

second N/2 elements are samples of the negative frequency components of W(f).<br />

(b) Run file SA 2_9.m for a plot of h(t) as computed by using the IFFT and Eq. (2–207). Compare<br />

this IFFT-computed h(t) with the analytical h(t) that is shown in Fig. 2–15b, where<br />

t 0 = RC = 1/(2pf 0 ).<br />

PROBLEMS<br />

★ 2–1 For a sinusoidal waveform with a peak value of A and a frequency of f 0 , use the time average<br />

operator to show that the RMS value for this waveform is A/12.<br />

2–2 A function generator produces the periodic voltage waveform shown in Fig. P2–2.<br />

(a) Find the value for the DC voltage.<br />

(b) Find the value for the RMS voltage.<br />

(c) If this voltage waveform is applied across a 100-Ω load, what is the power dissipated in the load?<br />

2–3 The voltage across a load is given by v(t) = A 0 cos v 0 t, and the current through the load is a<br />

square wave,<br />

i(t) = I 0<br />

q<br />

a<br />

n=-q<br />

cßa t - nT 0<br />

T 0 /2<br />

b -ßa t - nT 0 - (T 0 /2)<br />

T 0 /2<br />

where v 0 = 2p/T 0 , T 0 = 1 sec, A 0 = 10 V, and I 0 = 5 mA.<br />

bd

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!