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: controlling simulink variable timestep size based on signals
Replies: 1   Last Post: Feb 14, 2013 11:37 PM

Advanced Search

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

Posts: 350
Registered: 1/27/12
Re: controlling simulink variable timestep size based on signals
Posted: Feb 14, 2013 11:37 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

There's no solver parameter that allows you to change how it works with time, but you could could generate another sign wave in the model that has a frequency say N times faster than the one you are using and feed that block into a zero-crossing detector.
That'll set the maximum step size to be a function of time.

Phil.



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.