2
$\begingroup$

I have data recorded at 1000Hz and other physio data recorded, somehow, at 1960.8 Hz (510 microsecond samples). Ideally, I would like to be able to downsample the 1960.8 hz signal to line up with the 1000Hz signal. Any suggestions? I am familiar with matlab or Python.

$\endgroup$
1
  • 2
    $\begingroup$ Why not just use Matlab's resample command (or Python's equivalent)? You will lose all signals above 500 Hz, though. $\endgroup$
    – MBaz
    Commented Sep 11, 2015 at 19:04

1 Answer 1

1
$\begingroup$

You can use the resample command mentioned as follows to accomplish this:

y=resample(x,1250,2541); % x is the input signal
$\endgroup$
1
  • $\begingroup$ Thanks for the response. That worked, except I changed the argument to: resample(x,1250,2451) $\endgroup$ Commented Sep 14, 2015 at 20:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.