Info

此问题已关闭。 请重新打开它进行编辑或回答。

Find index string in table

2 次查看(过去 30 天)
Eliah Verbeemen
Eliah Verbeemen 2018-5-16
关闭: Eliah Verbeemen 2018-5-25
I have a string that is present several times (bad Englisg, I mean you can find it multiple times in the table) I like to find all the indices. Hoy can someone do this?
  2 个评论
Jan
Jan 2018-5-16
Please post an example of what your inputs are. What kind of "table" is it? Are all elements strings or char vectors?
Eliah Verbeemen
Eliah Verbeemen 2018-5-16
I know that I have to look in column 4. In that columt there are only strings

回答(1 个)

KSSV
KSSV 2018-5-16
Read about strfind, ismemebr and unique. These functions should help to get what you want.

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by