how to find row position of value in a column?
297 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Image Analyst
2017-9-20
Try this:
row = find(yourColumnVector == desiredValue);
Adapt by replacing with the actual names and values of your variables.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!