Return Row of Array corresponding to a certain element?

1 次查看(过去 30 天)
How can I call a certain row from an array "A" that contains a certain element (say "a")?

采纳的回答

the cyclist
the cyclist 2016-12-17
A(any(A==a,2),:)

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by