フィルターのクリア

finding values of a matrix

1 回表示 (過去 30 日間)
johnson saldanha
johnson saldanha 2018 年 11 月 2 日
編集済み: KSSV 2018 年 11 月 2 日
how to find the values of a particular column corresponding to the known index numbers? for ex: the matrix is x and the index numbers are 2,4,6 and in the third coulumn i need to find the values corresponding to those index numbers.

採用された回答

KSSV
KSSV 2018 年 11 月 2 日
編集済み: KSSV 2018 年 11 月 2 日
iwant = x([2 4 6],3)
If not above, you might be looking for sub2ind / ind2sub. Read about these functions.

その他の回答 (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