set_time_samples()
Description: Create a time sample struct for use with transient functions.
Usage
time_struct = set_time_samples(samples);
time_struct = set_time_samples(deltat, tmin, tmax);
Arguments
- samples A vector containing time samples (e.g. [ t1 t2 t3 ]).
- deltat The difference between adjacent time samples.
- tmin The starting time.
- tmax The ending time.
Output Parameters
- time_struct A structure containing time sample information.
Notes
Calling set_time_samples with no arguments will cause the function
to prompt the user to enter deltat, tmin, and tmax. Additionally, note that set_time_samples(samples) is VERY different from set_time_samples(deltat, tmin, tmax); the former will create a grid that samples only at the specified points, whereas the latter will create a regular grid between tmin and tmax.

