Download presentation
Presentation is loading. Please wait.
Published byAlicia Stevens Modified over 9 years ago
1
Sine Waves
2
Notation s 0 … s n … s N or s(0), … s(n), … s(N) Sketch the following digital signals: δ (n) = 1, n = 0 = 0, otherwise u (n) = 1, n >= 0 = 0, n < 0 x (n) = a n –(for a = 1; 0 1, and a=-1; -1<a<0; a<-1)
3
Sine Wave Generation Point P moves at f Hz (cycles/s) duration of 1cycle T = 1/f There are N samples in one rotation of the point P s n = r sin( n ), where n refers to the n th sample time We have: is simply an array of sample times
4
Sine Wave Generation in MATLAB function sig = makesine (f, fs, timelen) t = 0:(1/fs):timelen-(1/fs); sig = sin(2*pi*f*t); plot (t, sig); grid;
5
Sampling when
6
Phase π/2 rad (90°) phase shift in sampling
7
Aliasing What happens as we decrease the sampling rate?
8
Conclusion We cannot recover signal components >F s /2 –Nyquist Theorem If analog signal has frequency components > F s /2, they will cause distortion by appearing as aliases –Must use anti-aliasing filter before sampling
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.