MATLAB: Extract data from array at set intervals to new array

arrayimage processingintensityintervalMATLABvideo

I'm extracting some intensity data from video frames and storing it in an array. Frame number along x and amplitude on y, usual stuff.
How would I create a new array which stores the y(row) value every 24 frames?
Thanks

Best Answer

you can use indexing.
y(1:23:end)