could anyone tell me how to choose the position of the number

1 回表示 (過去 30 日間)
Prabha Kumaresan
Prabha Kumaresan 2018 年 8 月 10 日
コメント済み: KSSV 2018 年 8 月 10 日
could anyone tell me how to choose the position of the number
  1 件のコメント
Prabha Kumaresan
Prabha Kumaresan 2018 年 8 月 10 日
could anyone tell me how to choose the position of the number if there are 5 numbers in the row.

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

回答 (1 件)

KSSV
KSSV 2018 年 8 月 10 日
Read about find and logical indexing.
  2 件のコメント
Prabha Kumaresan
Prabha Kumaresan 2018 年 8 月 10 日
ok.Could you also please help me to find the first number in the row(1 2 3 4 5) from left.
KSSV
KSSV 2018 年 8 月 10 日
row = [1 2 3 4 5] ;
find(row==1)

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

カテゴリ

Help Center および File ExchangeShifting and Sorting Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by