Sine Waves - PowerPoint PPT Presentation

1 / 8
About This Presentation
Title:

Sine Waves

Description:

Sine Wave Generation. Point P moves at f Hz (cycles/s) duration of 1cycle T = 1/ f ... Sine Wave Generation in MATLAB. function sig = makesine (f, fs, timelen) ... – PowerPoint PPT presentation

Number of Views:460
Avg rating:3.0/5.0
Slides: 9
Provided by: johnmc5
Category:
Tags: sine | waves

less

Transcript and Presenter's Notes

Title: Sine Waves


1
Sine Waves
2
Notation
  • s0 sn sN or s(0), s(n), s(N),
  • d (n) 1, n 0
  • 0, otherwise
  • u (n) 1, n gt 0
  • 0, n lt 0
  • x (n) an

3
Sine Wave Generation
  • Point P moves at f Hz (cycles/s) ? duration of
    1cycle T 1/ f
  • s(n) r sin(?(n)) , n refers to the nth sample
    time
  • We have

4
Sine Wave Generation in MATLAB
  • function sig makesine (f, fs, timelen)
  • t 0(1/fs)timelen-(1/fs)
  • sig sin(2pift)
  • plot (t, sig)
  • grid

5
Sampling when
6
Phase
  • p/2 rad (90) phase shift in sampling

7
Aliasing
  • What happens as we decrease the sampling rate?

8
Conclusion
  • We cannot recover signal components gtFs/2
  • Nyquist Theorem
  • If analog signal has frequency components gtFs/2,
    they will cause distortion by appearing as
    aliases
  • Must use anti-aliasing filter before sampling
Write a Comment
User Comments (0)
About PowerShow.com