Artifact ac6908b24d01d5eb55ddc5026c71f45cfa2aeb39838b0bd1ecacbb9fbfbe8d5b:
- File mtt/bin/trans/m/mtt_zeroswitches.m — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 173) [annotate] [blame] [check-ins using] [more...]
- File mttroot/mtt/bin/trans/m/mtt_zeroswitches.m — part of check-in [aba815b752] at 2005-04-26 23:43:35 on branch origin/master — Reset open switches after update to eliminate overshoots. (user: geraint@users.sourceforge.net, size: 173) [annotate] [blame] [check-ins using]
function [x] = mtt_zeroswitches(x,Nx,open) I_open = nozeros(open.*[1:Nx]'); # Indices of open switches x(I_open) = 0.0; # Open switches have zero states endfunction;