How to separate data?
18 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
KALYAN ACHARJYA
le 21 Fév 2021
Modifié(e) : KALYAN ACHARJYA
le 21 Fév 2021
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 commentaires
Voir également
Catégories
En savoir plus sur Data Import and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!