Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Find elements in a matrix using a matrix of locations

2 views (last 30 days)
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?

Answers (1)

Image Analyst
Image Analyst on 12 Jan 2018
Try this:
extractedData = firstMatrix(secondMatrix);

This question is closed.

Community Treasure Hunt

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

Start Hunting!