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

1 vue (au cours des 30 derniers jours)
Prabha Kumaresan
Prabha Kumaresan le 10 Août 2018
Commenté : KSSV le 10 Août 2018
could anyone tell me how to choose the position of the number
  1 commentaire
Prabha Kumaresan
Prabha Kumaresan le 10 Août 2018
could anyone tell me how to choose the position of the number if there are 5 numbers in the row.

Connectez-vous pour commenter.

Réponses (1)

KSSV
KSSV le 10 Août 2018
Read about find and logical indexing.
  2 commentaires
Prabha Kumaresan
Prabha Kumaresan le 10 Août 2018
ok.Could you also please help me to find the first number in the row(1 2 3 4 5) from left.
KSSV
KSSV le 10 Août 2018
row = [1 2 3 4 5] ;
find(row==1)

Connectez-vous pour commenter.

Catégories

En savoir plus sur Shifting and Sorting Matrices dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by