1
$\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$
  • 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 Sep 11 '15 at 19:04
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$
  • $\begingroup$ Thanks for the response. That worked, except I changed the argument to: resample(x,1250,2451) $\endgroup$ – user3303229 Sep 14 '15 at 20:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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