how to find row position of value in a column?
322 views (last 30 days)
Show older comments
thomi dhia
on 20 Sep 2017
Answered: Image Analyst
on 20 Sep 2017
I want to find the row position of a value in a single-column matrix (with inserting the value), how to do that? thanks for answering before.
0 Comments
Accepted Answer
Image Analyst
on 20 Sep 2017
Try this:
row = find(yourColumnVector == desiredValue);
Adapt by replacing with the actual names and values of your variables.
0 Comments
More Answers (0)
See Also
Categories
Find more on Subplots 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!