Extract the data in a certain range
1 次查看(过去 30 天)
显示 更早的评论
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1064850/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1064855/image.png)
Thank you so much
0 个评论
采纳的回答
Chunru
2022-7-14
% assume that your data is x
t1 = 0.9470; t2=1.4240;
x_extracted = x(x.Time>=t1 & x.Time<=t2, :)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!