Extract data from array at set intervals to new array

12 ビュー (過去 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)
  1 件のコメント
magvlc
magvlc 2019 年 2 月 27 日
Thanks, I was getting the syntax wrong.

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by