Displaying 1 result from an estimated 1 matches for "undersamplingtimes".
2006 Mar 13
1
Newbie error or bug?
...sec = 5.5
#aliassamplingfreq <- 1000*2.5
aliasfreqin1msec = 2.5
drawingpoints = 10000
time = (0:drawingpoints)/drawingpoints
signal = sin(freqin1msec*2*pi*(time))
alias = -sin(aliasfreqin1msec*2*pi*(time))
undersamplinginterval = max(time)/8
seq (0, max(time), by=undersamplinginterval) -> undersamplingtimes
undersampled = sin(freqin1msec*2*pi*undersamplingtimes)
plot(time,signal,type="l", col="blue", xaxs="r", yaxs="r", xlab="Time
(msec)", ylab="Signal", main="Aliasing", sub="Sampling 5KHz source
(blue) at 8KHz (dots) gives 2....