Extract data from array at set intervals to new array

조회 수: 6 (최근 30일)
magvlc
magvlc 2019년 2월 24일
댓글: magvlc 2019년 2월 27일
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

채택된 답변

Kevin Phung
Kevin Phung 2019년 2월 25일
you can use indexing.
y(1:23:end)

추가 답변 (0개)

제품


릴리스

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by