Effacer les filtres
Effacer les filtres

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

4 vues (au cours des 30 derniers jours)
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

Réponse acceptée

David Fletcher
David Fletcher le 11 Mai 2021
table.x(table.y==0)

Plus de réponses (0)

Catégories

En savoir plus sur Multidimensional Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by