copp.interpolation.t_to_s_topp3_samples

Sample s(t) from a TOPP3 profile at explicit times.

Syntax

s_t = copp.interpolation.t_to_s_topp3_samples(s, profile, t_s, t_sample)

Description

= copp.interpolation.t_to_s_topp3_samples(S, PROFILE, T_S, T_SAMPLE) maps each requested time in T_SAMPLE to a path position. S and T_S must have length N, matching the \(N \times 1\) PROFILE.a and PROFILE.b vectors. T_SAMPLE must be a real finite vector with M elements inside the represented time range. S_T is returned as an M-by-1 double column vector.

Input Arguments

s

Station grid or path-parameter samples. Use a real finite vector; station-grid inputs are usually strictly increasing.

profile

Third-order profile object containing a, b, and stationary-node metadata.

t_s

Cumulative arrival time at each station, returned as an \(N \times 1\) double column vector.

t_sample

User-provided time samples where \(\(s(t)\)\) should be evaluated.

Output Arguments

s_t

Sampled path parameter values \(s(t)\).

See Also

copp.interpolation