Extract data from array at set intervals to new array

6 vues (au cours des 30 derniers jours)
magvlc
magvlc le 24 Fév 2019
Commenté : magvlc le 27 Fév 2019
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

Réponse acceptée

Kevin Phung
Kevin Phung le 25 Fév 2019
you can use indexing.
y(1:23:end)
  1 commentaire
magvlc
magvlc le 27 Fév 2019
Thanks, I was getting the syntax wrong.

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by