필터 지우기
필터 지우기

Irregular timestamps of measurement in existing graph

조회 수: 3 (최근 30일)
Elon Hendriksen
Elon Hendriksen 2022년 7월 6일
댓글: Elon Hendriksen 2022년 7월 22일
Hi,
I have simulated a non linear pendulum and now i want to compare an experiment with the previously modelled pendulum. My simulation has a timestep of 0.01s and I have a 100Hz recording of my experiment but it turns out the recording is not exactly on the 0.01 second every time. I have the recording with timestamps and now I would like to input the recording in the (simulated) exsisting graph at the specific times.
Hope somebody can help here!
Kind regards, Elon

답변 (1개)

KSSV
KSSV 2022년 7월 6일
You may consider interpolating the data to desired timestamps using interp1.
  댓글 수: 1
Elon Hendriksen
Elon Hendriksen 2022년 7월 22일
Thanks! I figured it out! turns out you can have different x axis vlaues in one plot without issues.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by