Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Simulink: newbie question
Posted:
Nov 9, 2008 9:34 AM


I have a simple model that
a) generates a sinewave signal; b) passes it through a hitcrossing block; c) converts the hitcrossing output (boolean) to double; d) applies an integrator; e) displays the signal.
All blocks's parameters are set to defaults. (For the hitcrossing block, the boundary is 0).
I expected to see a step function as the output, but
a) with a continuous integrator, the output is flat at y = 0; b) with a discretetime integrator, the output jumps from 0 to 1 at x = 1, and stays at y = 1 thereafter.
Could anyone explain please?
Thank you.



