I have a set of data and i need to sort out two conditions that are mixed in a single column. How I can do that without complicating my task very much?

 採用された回答

madhan ravi
madhan ravi 2018 年 11 月 27 日
編集済み: madhan ravi 2018 年 11 月 27 日

0 投票

Use logical indexing to satisfy the two conditions all at once like below
x=1:10; %an example
x(x>5 & x<7)

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeShifting and Sorting Matrices についてさらに検索

質問済み:

2018 年 11 月 27 日

編集済み:

2018 年 11 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by