repo.or.cz
/
librepilot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git]
/
matlab
/
revo
/
unwrap_time.m
blob
44961bb193969b966c760dee60c07346d0668c7e
1
function t = unwrap_time(t)
2
3
wrap = find((t(2:end) - t(1:end-1) ) < -64000);
4
jump = zeros(size(t));
5
jump(wrap+1) = hex2dec('10000');
6
7
t = t + cumsum(jump);