simulink -sinx integral

조회 수: 5 (최근 30일)
승표
승표 2024년 5월 19일
편집: Paul 2024년 5월 20일
As I know, integral -sinx dx is cosx
but, in sinulink there is offset !

답변 (1개)

Paul
Paul 2024년 5월 19일
편집: Paul 2024년 5월 20일
Hi 승표,
It's not really an offset. The Integrator block parmameter 'Initial Condition' is set to zero, which corresponds to setting the constant of integration C = -1 in the solution for the antiderivative. Double click on the Integrator block and set the Initival Condition parameter to whatever is needed to get the desired result.
Another way to think of it is that the output of the Intregator block is: x0 + int(-sin(tau) dtau, from 0, to x)
(thought it it looks like your actual, input sine wave is at a higher frequency).

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by