Skip to content

Downsample

Keeps every n-th element of a list.

$ wo 'Downsample[Range[10], 2]'
{1, 3, 5, 7, 9}