Main Content

tangentAngle

Return tangent angle at arclength

Since R2022a

    Description

    theta = tangentAngle(refPath,S) calculates the tangent angle, theta, of the reference path at specified arclength, S.

    Input Arguments

    collapse all

    Reference path, specified as a referencePathFrenet object.

    Path arclengths, specified as an N-element column vector in meters, where N is the total number of desired arclengths to calculate.

    Output Arguments

    collapse all

    Path tangent angles, specified as an N-element vector in radians, where N is the total number of desired arclengths to calculate.

    Extended Capabilities

    C/C++ Code Generation
    Generate C and C++ code using MATLAB® Coder™.

    Version History

    Introduced in R2022a