My question is on that a==2 row what is the value of row of column b.
MATLAB: If column a=[1;2;3;2;5;2], b=[1;2;3;4;5;6] how many rows have a==2, i use this [a]=find(a==2) .
find specific row for specific number
Related Question
- Find row with certain values
- Hello guys, i have mat file < 15151x723 double > but i want this file with 3 columns only. after 15151 rows i want next 3 columns should come bellow that.same with next 3 columns …hope you understand…
- How to rearrange an array ? (only unique numbers in a column)
- How to remove repetition in matrix without changing length
- How to compare an array with 2D matrix
- Creation of new column
- *Extract* last non zero element of column or vector
Best Answer