function [u, v, w] = ned2ecefv(uNorth, vEast, wDown, lat0, lon0, angleUnit)
%

% Copyright 2012-2023 The MathWorks, Inc.

%#codegen

if nargin < 6 || map.geodesy.isDegree(angleUnit)
    sinfun = @sind;
    cosfun = @cosd;
else
    sinfun = @sin;
    cosfun = @cos;
end

[u, v, w] ...
    = enu2ecefvFormula(vEast, uNorth, -wDown, lat0, lon0, sinfun, cosfun);
