Displaying 1 result from an estimated 1 matches for "tp25475063p25477281".
2009 Sep 16
3
fft help
I wrote a script that I anticipating seeing a spike at 10Hz with the
function 10* sin(2*pi*10*t).
I can't figure out why my plots do not show spikes at the frequencies I
expect. Am I doing something wrong or is my expectations wrong?
require(stats)
layout(matrix(c(1,2,3), 3, 1, byrow = TRUE))
#SETUP
n <- 256 #nextn(1001) gives next power 2
F <- 100 #Hz -50 to 50 Hz
dt