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.

采纳的回答

Image Analyst
Image Analyst 2017-9-20
Try this:
row = find(yourColumnVector == desiredValue);
Adapt by replacing with the actual names and values of your variables.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Elementary Math 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by