mat = vec2mat(vec,matcol) mat = vec2mat(vec,matcol,padding) [mat,padded] = vec2mat(___) Description mat= vec2mat(vec,matcol)converts vectorvecto matrixmatwithmatcolcolumns. The function creates the matrix one row at a time, filling the rows with elements fromvecin order. If the length...
vrrotvec2matwill be removed in a future release. For more information, seeVersion History. Syntax m = vrrotvec2mat(r) m = vrrotvec2mat(r,options) Description m= vrrotvec2mat(r)returns a matrix representation of the rotation defined by the axis-angle rotation vector,r. ...
Syntax rotationMatrix = rotvec2mat3d(rotationVector)Description rotationMatrix = rotvec2mat3d(rotationVector) returns a 3-D rotation matrix that corresponds to the input axis-angle rotation vector. The function uses the Rodrigues formula for the computation. example...