finding the sampling frequency from the following
1 回表示 (過去 30 日間)
古いコメントを表示
Hi everyone,
I have to work out the sampling frequency. I have set up a vector of time values with 128 elements sampled at twice a second. The signal has to be calculated with five cycles in 63.5s and the code for that is:
t = 0:0.5:63.5; yt = sin(2*pi*t*5/63.5);
How do I get the sampling frequency from this information?
Thanks!
0 件のコメント
採用された回答
Walter Roberson
2011 年 12 月 11 日
Sampling frequency is 1 divided by sample rate.
1 / (M seconds per sample) = ? samples per second
and samples per second is Hz .
2 件のコメント
Walter Roberson
2011 年 12 月 11 日
Frequency is always expressed in cycles (or items) per unit time, never in units of time.
Perhaps I should have said,
"Sampling frequency is 1 divided by sample period"
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!