How to separate data?
16 ビュー (過去 30 日間)
古いコメントを表示
I have a data set of signal . the dataset has 120030data in one column. i want to separate data which has 1024data in every set.
0 件のコメント
回答 (1 件)
KALYAN ACHARJYA
2021 年 2 月 21 日
編集済み: KALYAN ACHARJYA
2021 年 2 月 21 日
Following code remove all adata elements which are equal to 1024
result=data(~(data==1024))
Or
data(data==1024)=[]
More:
if you want to get the indices of 1024 in the data
idx=find(data==1024)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Import and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!