Extract the data in a certain range
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Yew Jen Chong
le 14 Juil 2022
Commenté : Yew Jen Chong
le 14 Juil 2022
Hi everyone,
The figure on the left shows the entire data. I want to extract the data between two different time shown in figure on the right. Can someone please give me some suggestion on how should I solve this issue?


Thank you so much
0 commentaires
Réponse acceptée
Chunru
le 14 Juil 2022
% assume that your data is x
t1 = 0.9470; t2=1.4240;
x_extracted = x(x.Time>=t1 & x.Time<=t2, :)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots 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!