Index timetable variables and remove rows based on criteria.

I'm trying to remove rows of a timetable based on if any cell is greater than or equal to 8.
My line is below, can't see what the issue is with my indexing.
TT(TT{:,2:2001} >= 8, :) = [] % Remove rows with values greater than or equal to 8.0.
I only want to include columns 2:2001, but apply the indexing to all times (rows) in my data.
Thanks.

 Respuesta aceptada

Más respuestas (0)

Categorías

Productos

Versión

R2021a

Etiquetas

Preguntada:

el 12 de Oct. de 2021

Comentada:

el 12 de Oct. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by