Overview
Comment: | Initial revision |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c3a30997f5e165a093264ebe06f0e6c3 |
User & Date: | gawthrop@users.sourceforge.net on 2000-08-01 11:14:36 |
Other Links: | branch diff | manifest | tags |
Context
2000-08-01
| ||
12:11:27 | Initial revision check-in: 86422b357c user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
11:14:36 | Initial revision check-in: c3a30997f5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
09:33:28 |
Include mtt_solve_lud within scope of this function - seems to avaoid probs with p2c check-in: 83c3d143e1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Added mttroot/mtt/bin/trans/m/mtt_euler.m version [a811a17cef].
> > > > > > > | 1 2 3 4 5 6 7 | function [x] = mtt_euler(x,dx,dt,stepfactor,Nx,open) # Euler update I_open = nozeros(open.*[1:Nx]'); # Indices of open switches x(I_open) = 0.0; # Open switches have zero state I = nozeros(!open.*[1:Nx]'); # Indices of states to update x(I) = x(I) + dx(I)*dt; # Update states except open switches. endfunction; |