timeStamps2Vector

バージョン 1.0.1 (1.36 KB) 作成者: Alexis
Converts a vector of time stamps into a one-hot coded vector.
ダウンロード: 6
更新 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 Center および MATLAB AnswersDescriptive 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