<div dir="ltr"><div>Hello<br><br>I am trying to implement to remove gait related movement artifacts. In this paper, it was mentioned authors implement a linear time warping method with 20 neighboring epochs. <br><br><a href="http://sccn.ucsd.edu/~klaus/pubs/GwinGramannMakeigFerris2010.pdf">http://sccn.ucsd.edu/~klaus/pubs/GwinGramannMakeigFerris2010.pdf</a><br>
<br></div>I am not sure I clearly understood how to use 'timewarp' function in EEGLAB. <br>warpmat = timewarp(evlatency, newlatency)<br><br><div>% In 10-frame vectors, warp frames 3 and 5 to frames 4 and 8,<br> % respectively. Generate a matrix to warp data epochs in <br>
 % variable 'data' of size (10,k)<br>       >> warpmat = timewarp([1 3 5  10], [1 4 8 10])<br>       >> warped_data = warpmat*data;<br><br></div><div>How do I write these two lines of code, if I need to timwarp an epcoh with 20 neighboring epochs?<br>
<br></div><div>Srini </div></div>