Skip to content

Instantly share code, notes, and snippets.

@Mitsos101
Created August 24, 2016 13:19
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
for i in 1:(length(samples) - 1)
if (samples[i + 1] - samples[i]) < 500
deleteat!(samples, i:i+1)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment