Make two groups of data from a given data set
古いコメントを表示
Hi,
I want to separate some specific data from a given data set. Suppose I have data set r i.e.
r = randi(99,1,500);
I want to make two groups of data based on following conditions
if r<=30 make group 1 (store them in an array)
if r>=35 make group 2 (store them in an array)
Any help in this regard will be highly appreciated.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Simultaneous and Synchronized Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!