Convert my data to milliseconds
显示 更早的评论
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 个评论
Nora Khaled
2020-11-18
could you explain what type of data you have and what outcome you want to achive?
Walter Roberson
2020-11-18
are the timestamps explicit or implied?
Lari Sa
2020-11-18
回答(1 个)
Walter Roberson
2020-11-18
milliseconds = (sample number minus 1) / sampling frequency, times 1000
类别
在 帮助中心 和 File Exchange 中查找有关 Time Series Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!