Clear Filters
Clear Filters

How to delete rows in a table where table variable equals some integer?

1 view (last 30 days)
How can I delete rows from a table where a variable in the table = 1(for example)?

Accepted Answer

KL
KL on 22 Nov 2017
if T is your table,
T(T.Variable == 1,:) = [];

More Answers (0)

Categories

Find more on Tables in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!