Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Simulink: newbie question
Replies: 1   Last Post: Nov 9, 2008 12:38 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Dimitri Shvorob

Posts: 49
Registered: 4/1/08
Simulink: newbie question
Posted: Nov 9, 2008 9:34 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have a simple model that

a) generates a sine-wave signal;
b) passes it through a hit-crossing block;
c) converts the hit-crossing output (boolean) to double;
d) applies an integrator;
e) displays the signal.

All blocks's parameters are set to defaults. (For the hit-crossing 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 discrete-time integrator, the output jumps from 0 to 1 at x = 1, and stays at y = 1 thereafter.

Could anyone explain please?

Thank you.






Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.