timeStamps2Vector
Version 1.0.1 (1,36 KB) von
Alexis
Converts a vector of time stamps into a one-hot coded vector.
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.
Zitieren als
Alexis Deighton MacIntyre (2020). timeStamps2Vector (https://www.mathworks.com/matlabcentral/fileexchange/73433), MATLAB Central File Exchange.
Kompatibilität der MATLAB-Version
Erstellt mit
R2019b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Signal Processing > Signal Processing Toolbox > Measurements and Feature Extraction > Descriptive Statistics >
Mehr zu Descriptive Statistics finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.1 | Added attribution |
||
1.0.0 |