The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 ]

Posts: 20
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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.