Matlab: Tempo-Alignment according to Timestamps

こ雲淡風輕ζ 提交于 2019-12-06 14:52:41

Make sure they are in the same unit of measurement, e.g. microseconds

Create an index which contains all values, except duplicates, suppose this one is 2400 records long

Create two NaN vectors of length 2400 by putting the value (for example the framenumber) at the place where the index matches the timestamp

Now you have two aligned vectors with NaNs to pad them where required.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!