derivation block changes time step - Simulink

조회 수: 1 (최근 30일)
Darius
Darius 2023년 9월 8일
편집: Guillaume 2023년 9월 14일
i am trying to derivate a speed profile with a fixed step size of 0.005 sec, but after the derivation the time step size increases to 1 second. I have set, in the Model settings, the timestep size to be 0.05 but without any success. does anybody know how to fix this?
the result I'm expecting is a discrete signal with the same step size as the original signal
  댓글 수: 2
Guillaume
Guillaume 2023년 9월 14일
편집: Guillaume 2023년 9월 14일
Hello,
Sorry I did not see the full screenshot at the first time. Depending on your model you can also sample time issue (atomic subsystem configured with a different sample time or many other specific cases).
But it can also be the 'Decimation' parameter of your Scope ?
Sam Chak
Sam Chak 2023년 9월 14일
Hi @Darius,
I believe you want to compute the discrete-time derivative of the speed profile. However, I cannot verify the alleged 1-second time step from your image. Could you clarify that?

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

답변 (0개)

카테고리

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

태그

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by