Basic Sampling Question: Understanding Frequency Change in Piecewise Sinusoid

  • Thread starter CoolDude420
  • Start date
  • Tags Tags
    Sampling
1 reply · 2K views · last reply
CoolDude420
Messages
199
Reaction score
9

Homework Statement


Hi, I have the following continuous sinusoid given by

Piecewise definition of x(t): x(t) = sin(2πf0t) for t ≥ 0, and x(t) = 0 for t < 0.


Now, if I sample this with a sampling rate of $$f_s = 4f_0$$

, I am told this is the answer,

Piecewise definition of a discrete sequence x_n: sin(pi n / 2) for n = 0, 1, 2, ..., and 0 for n < 0.


I don't understand that. How come the frequency of the sinusoid has changed? I already studied sampling, etc. but this is the first time I've come across it in a piecewise manner like this. I can't seem to understand what just happened?

Homework Equations

The Attempt at a Solution

 
Attachments
  • Piecewise definition of x(t): x(t) = sin(2πf0t) for t ≥ 0, and x(t) = 0 for t < 0.
    6ca168c1f4.png
    1.7 KB · Views: 654
  • Piecewise definition of a discrete sequence x_n: sin(pi n / 2) for n = 0, 1, 2, ..., and 0 for n < 0.
    7d422e4e0e.png
    1.7 KB · Views: 748
The frequency hasn't changed. The coefficient inside has changed because your independent variable is no longer time, but ##n##. Try coming up with ##n## as a function of ##f_0## and ##t## and see what you get.