TimeLabl:
--------------------------------------------------------------------------
Generates a time label given the maximum value of t and rescales t.
If two arguments are entered it computes the time series t as
t = (0:(nSim-1))*dT;
Since version 1.
--------------------------------------------------------------------------
Form:
[t, c, u] = TimeLabl( t )
[t, c. u] = 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)
u (1,:) Units of time
--------------------------------------------------------------------------