How can i find the index of specific value inside an array?
Show older comments
I have an array lets say 1x4 with these values : [ 2 4 6 8 ] .How can i find the index that 4(index 2 of the array) is stored for example and then save it to some variable?
Accepted Answer
More Answers (1)
madhan ravi
on 15 Jun 2020
doc find
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!