フィルターのクリア

How can I delete a row of numbers in which the number in the first column is less than a threshold?

2 ビュー (過去 30 日間)
How can I delete a row of numbers in which the number in the first column is less than a threshold?

採用された回答

Sean de Wolski
Sean de Wolski 2013 年 6 月 19 日
glass half empty
X(X(:,1)<10,:) = [];
glass half full
Y = X(X(:,1)>=10,:);

その他の回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 6 月 19 日
A=rand(100,2) %example
a=A(1,:);
A(A(:,1)<0.2,:)=[];
A=[a;A]

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by