How to get the specific column and row number?

1 visualización (últimos 30 días)
Lee Leee Leeee
Lee Leee Leeee el 22 de Oct. de 2019
Respondida: Neeraj Kaberpanthi el 22 de Oct. de 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?

Respuestas (1)

Neeraj Kaberpanthi
Neeraj Kaberpanthi el 22 de Oct. de 2019
hi,
use function strcmp

Categorías

Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by