Info

此问题已关闭。 请重新打开它进行编辑或回答。

Find elements in a matrix using a matrix of locations

2 次查看(过去 30 天)
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?

回答(1 个)

Image Analyst
Image Analyst 2018-1-12
Try this:
extractedData = firstMatrix(secondMatrix);

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by