0
$\begingroup$

sampling rate=200KHz signal freq =1KHz When I sample 1KHz signal I'll get 200 samples.

Should I consider 0 to 199 samples? Or 1 to 200? I want only 1 cycle.

$\endgroup$

1 Answer 1

2
$\begingroup$

Both give you a cycle, just at a different starting point; but the thing about periodicity is that its periodic, regardless of the starting point.

So, there's no wrong answer here.

$\endgroup$
12
  • $\begingroup$ Thank you! I want to get one complete cycle. Starting from zero to zero. Is this possible ? $\endgroup$
    – user653241
    Sep 4, 2021 at 16:06
  • 1
    $\begingroup$ I answered that in my answer, literally. $\endgroup$ Sep 4, 2021 at 16:07
  • 1
    $\begingroup$ a complete cycle is 200, not 201 samples. $\endgroup$ Sep 4, 2021 at 16:11
  • 1
    $\begingroup$ That understanding is correct. If you take a piece of paper and draw a sine on it with equidistant sampling points, you'll see as much. $\endgroup$ Sep 4, 2021 at 16:18
  • 1
    $\begingroup$ I'm not keen on repeating things that I've already said. $\endgroup$ Sep 4, 2021 at 16:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.