rational numbers as upper limit of a summation? a quick question: Is it a legit way to use a fracti

Karina Trujillo

Karina Trujillo

Answered question

2022-06-06

rational numbers as upper limit of a summation?
a quick question: Is it a legit way to use a fraction as the upper limit of a summation? Given is a frequency f and a sample rate f s . I want to use a sum like this:
k = 1 f s 2 f sin ( 2 π k )
Is this a legit way to write it?

Answer & Explanation

scoseBexgofvc

scoseBexgofvc

Beginner2022-06-07Added 20 answers

If you mean to include all the k that are less than f s 2 f you can hedge and use the floor function:
k = 1 f s 2 f sin ( 2 π k )
This guarantees your bounds are both integers, but contain all the k you want.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?