vcross.m

来自「一个很好用的摄像机标定程序」· M 代码 · 共 23 行

M
23
字号
function vectors = vcross(vector, vectors)%vectors = VCROSS(vector, vectors)%%Vector products of VECTOR x VECTORS%%Input:% VECTOR  - row vector of length 3% VECTORS - a set of row vectors of size n x 3%%Output:% VECTORS - vector products of size n x 3%%See also:% cross%%Radim Halir, Charles University Prague, halir@ms.mff.cuni.cz%Created: 9.4.1997%Last modified 9.4.1997vectors = [vector(2) * vectors(:, 3) - vector(3) * vectors(:, 2), ...           vector(3) * vectors(:, 1) - vector(1) * vectors(:, 3), ...           vector(1) * vectors(:, 2) - vector(2) * vectors(:, 1)];

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?