compare 1D array with rows of 2D matrix
古いコメントを表示
how to compare entries of 1D array with rows of 2D matrix. entries of 1D array are the row number of 2D matrix. after comparing we write the corresponding column value of that row and if the row number gets repeat in 1D array then we move to next column value of same row and it goes on.I need help with code
回答 (2 件)
KSSV
2018 年 9 月 25 日
0 投票
Read about ismember
3 件のコメント
Muhammad Sohail Abid
2018 年 9 月 25 日
KSSV
2018 年 9 月 25 日
logical indexing is powerful and very fast...o get the position/ index use find.
Muhammad Sohail Abid
2018 年 9 月 28 日
write similarities and dissimilarities between 1d and 2d array in matlab.
カテゴリ
ヘルプ センター および File Exchange で Matrices and Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!