15.0k views
5 votes
Assume your sampling frequency (fs) is 500 Hz. If you want to capture the 50Hz signal for 5 seconds, calculate the number of samples (N) at the assumed fs to get the desired 5 seconds of data.

User Kelvinfix
by
5.4k points

1 Answer

3 votes

Answer:

N = 2500

Step-by-step explanation:

By definition, the sampling frequency (fs) is:


f_(s) = N / T

where N: is the number of samples and T: is the time

Hence, the number of samples at the sampling frequency, 500 Hz, to get 5 seconds of data is:


N = f_(s) \cdot T = 500 s^(-1) \cdot 5 s = 2500

I hope it helps you!

User Dream Lane
by
5.0k points