Next: size2str, Previous: scalarexpand, Up: API Alphabetically [Contents]
Create a duration x seconds long, or get the seconds in a duration
x.
If input is numeric, returns a duration array that is that many seconds in
time.
If input is a duration, converts the duration to a number of seconds.
Returns an array the same size as x.