Extract the data in a certain range

조회 수: 2 (최근 30일)
Yew Jen Chong
Yew Jen Chong 2022년 7월 14일
댓글: Yew Jen Chong 2022년 7월 14일
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

채택된 답변

Chunru
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 CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

제품


릴리스

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by