It can be done as follow,
- Generate the required indexes
interval = 55; difference = 1066-170; ind = []; current_ind = 170; while current_ind+difference<38529 ind = [ind current_ind:current_ind+interval]; current_ind = current_ind+difference; end
- Extract required values from the old vector
new_vector = old_vector(ind);