How to get the specific column and row number?

1 次查看(过去 30 天)
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?

回答(1 个)

Neeraj Kaberpanthi
Neeraj Kaberpanthi 2019-10-22
hi,
use function strcmp

类别

Help CenterFile Exchange 中查找有关 Dates and Time 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by