Effacer les filtres
Effacer les filtres

How to get the specific column and row number?

2 vues (au cours des 30 derniers jours)
Lee Leee Leeee
Lee Leee Leeee le 22 Oct 2019
How to get the specific column and row number of a 4x1 cell?
--------------------
For example :
Eat
Shower
Bathe
Drive
-------------------
These variable will be in random orders depending on the situation.
Then i would like to know which row is the word Shower is at. Is there any simple method to locate the row for it?

Réponses (1)

Neeraj Kaberpanthi
Neeraj Kaberpanthi le 22 Oct 2019
hi,
use function strcmp

Catégories

En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by