DEG2RAD: Convert degrees to radians. Calling Sequence: rad = deg2rad(deg); Parameters: deg : Angle in degrees. rad : Angle in radians. Description: Convenient utility function for converting degrees to radians, which are often the required angular units for functions in the NURBS toolbox. Examples: // Convert 35 degrees to radians rad = deg2rad(35);