Convert my data to milliseconds
6 views (last 30 days)
Show older comments
Hello everyone, I have two LFP datasets. The first is sampled at 20 kHz and the second one at 1250 Hz. What should I do to convert each timestamps to milliseconds?
3 Comments
Answers (1)
Walter Roberson
on 18 Nov 2020
milliseconds = (sample number minus 1) / sampling frequency, times 1000
0 Comments
See Also
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!