l10four - Square Wave A:= 10 T 2 T:= 1 N:= 9 j:= 1 n:= 1 N...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 20 10 0 10 20 yt () t THD 42.879 = THD 100 2 N n d n 2 = := a 0 2 1 N n a n cos n 2 ⋅π t f p b n sin n 2 t f p + = + := b n 2 Im c n := a n 2Rec n := 2c n 12.732 0 4.244 0 2.546 0 1.819 0 1.415 = d n 1 0 0.333 0 0.2 0 0.143 0 0.111 = c n -6.366i 0 -2.122i 0 -1.273i 0 -0.909i 0 -0.707i = d n c n c 1 := c n 1 T T 2 T 2 t xt ()e j 2 f p n t d := A T 2 t 0 if A0 t < T 2 < if 0 otherwise := n1N .. := f p 1 T := j1 := N9 := T1 := A1 0 := Square Wave
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
s i xx t start i t + () := which is an array with N points The FFT is then dd FFT s := M last dd := k0M .. := which is a complex array with M+1 points. M 512 = The frequency resolution is f f s N := and the frequency f k k f := which yields 02468 1 0 0 1.5 3 4.5 6 7.5 9 10.5 12 13.5 15 2d d k f k Which is Reasonable Accurate for the lower frequency components but drops off at high frequencies due to aliasing f 0.1 = Spectral Analysis of Square Wave Using the FFT Define One Cycle p(t) of Square Wave
Background image of page 8
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/12/2011 for the course ECE 3041 taught by Professor Brewer during the Fall '08 term at Georgia Tech.

Page1 / 8

l10four - Square Wave A:= 10 T 2 T:= 1 N:= 9 j:= 1 n:= 1 N...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online