timeStamps2Vector

版本 1.0.1 (1.4 KB) 作者: Alexis
Converts a vector of time stamps into a one-hot coded vector.
6.0 次下载
更新时间 2020/10/12

查看许可证

Accepts a vector of time stamps (e.g., drum hits, vowel onsets) and returns a one-hot coded vector ([0 0 0 0 1 0 0 0 1 0 1 ...]) version of the time stamps, for example, for use in machine learning applications. You can optionally specify a new sample rate if you need a different output Fs.

引用格式

Alexis Deighton MacIntyre (2020). timeStamps2Vector (https://www.mathworks.com/matlabcentral/fileexchange/73433), MATLAB Central File Exchange.

MATLAB 版本兼容性
创建方式 R2019b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Descriptive Statistics 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.1

Added attribution

1.0.0