How to find the index of a specific entry in an array

1 次查看(过去 30 天)
Hi All,
Is there any inbuilt matlab function to find the index of a particular entry in an 1D array?
Thanks in advance!
  2 个评论
Hrishikesh Borate
Hrishikesh Borate 2020-11-19
Hi,
This question has already been answered here. Could you please share some more details regarding your question?
Swati Sarangi
Swati Sarangi 2020-11-19
I was looking for any inbuilt function in MATLAB which will give the desired output in a single line.

请先登录,再进行评论。

采纳的回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2020-11-19
编辑:KALYAN ACHARJYA 2020-11-19
idx=find(array_data==particular_entry)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by