How to get the specific column and row number?

1 回表示 (過去 30 日間)
Lee Leee Leeee
Lee Leee Leeee 2019 年 10 月 22 日
回答済み: Neeraj Kaberpanthi 2019 年 10 月 22 日
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 Center および File ExchangeDates and Time についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by