Setting time intervals in a cell array all to the same 0 to 5 second time interval
조회 수: 3 (최근 30일)
이전 댓글 표시
I am trying to find the spiking rates over 5 second intervals of time. I have the spike times of intervals in a cell array(spk). I am wondering if it is possible or if any of you clever coders might know of a way to set all of the intervals and spike times contained within those intervals to 0 to 5 second interval. For example, the spike time of the first interval in the cell is 59.031, so put that as 0.031. The next 59.0599 to 0.0599. Is this possible?
댓글 수: 3
답변 (1개)
Andrew Bliss
2016년 6월 13일
Not quite sure what you're trying to do, but wouldn't mod help? E.g.
mod(59.031,1)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Electrophysiology에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!