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: Discrete real-time integration
Replies: 4   Last Post: Jan 2, 2012 12:32 PM

Advanced Search

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

Posts: 19
Registered: 9/29/09
Re: Discrete real-time integration
Posted: Sep 20, 2011 8:50 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Thanks for the reply. Simulink does it "manually" - from the documentation:

"Use initial condition as initial and reset value for parameter:

Step 0: y(0) = x(0) = IC (clipped if necessary)
x(1) = y(0) = x(0) + K*T/2*u(0)

Step 1: y(1) = x(1) + T/2 * (u(1) + u(0))
x(2) = y(1)

Step n: y(n) = x(n) + T/2 * (u(n) + u(n-1))
x(n+1) = y(n)"

But I want to know if there's a shortcut. Please can you direct me to the right "type" of numerical integration - that wolfram link you gave provides wayyyy to many to choose from!



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.