Show rows of a column of a table that meet a certain condition in another column

2 次查看(过去 30 天)
Dear MATLAB experts,
I'm tryigng to get the rows of column x , where rows of column y == 0 . I have written the following code so far, but can't manage to get the result:
table(table.x(table.y==0, :), :)
I would really appreciate your help.
Thank you in advance

采纳的回答

David Fletcher
David Fletcher 2021-5-11
table.x(table.y==0)

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by