フィルターのクリア

how to index a column matrix based on other column matrix?

3 ビュー (過去 30 日間)
EM geo
EM geo 2019 年 11 月 11 日
コメント済み: Ajay Pattassery 2019 年 11 月 14 日
Hi! I have two column matrix of different lenght (B is little than A). i want to indexing B using values from A and create a new column matrix C with the selected values.
I attached my matrices.
Thanks in advance!
  3 件のコメント
Stephen23
Stephen23 2019 年 11 月 11 日
Hopefully those are not timesamps stored as integers!
It is not clear what you mean by indexing, given that the values are on the order of 1e7 - 1e8 and yet the arrays have only hundred or so elements. Perhaps you really mean some set operation e.g. setdiff or to find the indices of matching/non-matching values?
Ajay Pattassery
Ajay Pattassery 2019 年 11 月 14 日
I have inspected your vectors. Could you explain how the new column matrix C is created.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by