How to find the index of a specific entry in an array
1 view (last 30 days)
Show older comments
Swati Sarangi
on 19 Nov 2020
Commented: Swati Sarangi
on 19 Nov 2020
Hi All,
Is there any inbuilt matlab function to find the index of a particular entry in an 1D array?
Thanks in advance!
2 Comments
Hrishikesh Borate
on 19 Nov 2020
Hi,
This question has already been answered here. Could you please share some more details regarding your question?
Accepted Answer
KALYAN ACHARJYA
on 19 Nov 2020
Edited: KALYAN ACHARJYA
on 19 Nov 2020
idx=find(array_data==particular_entry)
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!