Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Find elements in a matrix using a matrix of locations

2 vues (au cours des 30 derniers jours)
Michael Marsh
Michael Marsh le 12 Jan 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
I have a matrix (single column) with heart rate monitoring data, and a second matrix (single column) with locations corresponding to rows in the first. How do I use the second matrix to extract rows from the first?

Réponses (1)

Image Analyst
Image Analyst le 12 Jan 2018
Try this:
extractedData = firstMatrix(secondMatrix);
  1 commentaire
Michael Marsh
Michael Marsh le 12 Jan 2018
You're a beautiful soul.

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by