Help!!! Is there a way to get rid of a row in a timetable if any of the columns contain a negative values or any value thats below a given limit??

조회 수: 1 (최근 30일)
I want to set an arbitrary limit and eliminate any row that contain a value below the limit in a specified column of the timetable. So as an example, if i have columns A,B,C and there is a row in column B that is below a certain value i set, i want to get rid of the entire row. Is there a fuction or a nifty way of doing this? I am really trying to avoid creating any type of of loop as that would make my work messy.

채택된 답변

Walter Roberson
Walter Roberson 2021년 7월 9일
T(T.B < threshold,:) = [];

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by