TimeLabl:
-------------------------------------------------------------------------------
Generates a time label given the maximum value of t. Also rescales t.
If two arguments are entered it computes the time series t as
t = (0:(t-1))*dT;
-------------------------------------------------------------------------------
Form:
[t, c] = TimeLabl( t )
[t, c] = TimeLabl( nSim, dT )
-------------------------------------------------------------------------------
------
Inputs
------
t (1,:) Time (sec)
or
nSim (1,1) Number of time steps
dT (1,1) Time step (sec)
-------
Outputs
-------
t (1,:) Time
c (1,:) Label (years,days,hours,minutes,seconds)
-------------------------------------------------------------------------------
Children: