How to get the specific column and row number?

조회 수: 2 (최근 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 CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by