MATLAB Answers

How to extract some rows from a matrix which crosspond to some value in another vector?

3 views (last 30 days)
Cantor Set
Cantor Set on 18 Feb 2020
Answered: Cris LaPierre on 18 Feb 2020
I have a matrix
D= [ 1 11 1 1; 1 2 3 4; 5 6 7 8]; V=[3 2 2];
How to extract all the rows which crossponds to v=2 ?

  0 Comments

Sign in to comment.

Sign in to answer this question.


Translated by