How can we plot the same time history plot two times but the second time with a time delay of 2 sec?
조회 수: 7 (최근 30일)
이전 댓글 표시
How can we plot the same time history plot two times but the second time with a time delay of 2 sec?

댓글 수: 0
답변 (2개)
Eric Sofen
2025년 11월 3일 17:03
Without seeing your current code, it's hard to give a detailed response, but assuming your data is in a timetable, the lag function can be used to shift the time vector by either n timesteps or a time interval dt. Then you can plot that result the same way you're plotting your original dataset.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
