Path: Common/General
% Generates steps for any number of inputs. Since version 10. For example: t = [0 10 100]; v = [0 20 30]; h = [10 4 33]; [tS,vS,hS] = Staircase(t,0.1,v,h) -------------------------------------------------------------------------- Form: [tS, varargout] = Staircase( t, dT, varargin ) -------------------------------------------------------------------------- ------ Inputs ------ t (1,:) Transition times dT (1,1) Time step varargin {:} Any number of input variables ------- Outputs ------- tS (1,p) Times for each step varargout {:} Ramps corresponding to varargin's m (1,:) Mass of tank v (1,:) Volume --------------------------------------------------------------------------
Common: Graphics/Plot2D
Back to the Common Module page