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

 Akzeptierte Antwort

Grzegorz Knor
Grzegorz Knor am 6 Sep. 2011

3 Stimmen

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

2 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Fabio
Fabio am 7 Sep. 2011

0 Stimmen

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?

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by