Why the integration of a sin() function, with the integrator block of simulink, doesn't give a waveform of -cos()??

 채택된 답변

Grzegorz Knor
Grzegorz Knor 2011년 9월 6일

3 개 추천

What is your initial condition? Maybe 0?
In this case should be -1.

댓글 수: 2

Grzegorz Knor
Grzegorz Knor 2011년 9월 6일
hint: Initial condition you could set in Parameters and Dialog Box.
Paulo Silva
Paulo Silva 2011년 9월 6일
Good answer, having initial condition -1 instead of 0 solves the problem, +1 vote

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

추가 답변 (1개)

Fabio
Fabio 2011년 9월 7일

0 개 추천

Thanks Grzegorz,
I can see a cosine waveform but there is a peak upper than 1(almost 6), when the sine has an amplitude of 1. Do you know the reason of that behaviour?

카테고리

도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by