Path: Common/Transform
% Computes a transformation matrix from the frame u is defined n a frame in which u is the z-axis and the other axes form an orthogonal set. -------------------------------------------------------------------------- Form: b = CoordinateFrameFromUV( u ) -------------------------------------------------------------------------- ------ Inputs ------ u (3,1) Unit vector ------- Outputs ------- b (3,3) Transformation matrix --------------------------------------------------------------------------