Skip to content

Instantly share code, notes, and snippets.

@Mitsos101
Created Aug 24, 2016
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