matalignimgplanes.m

来自「这是我用Delphi和Matlab写的一个程序」· M 代码 · 共 6 行

M
6
字号
function RPlanes = MatAlignImgPlanes(t, dx, dy)
%  MATALIGNIMGPLANES  Return the Matrix used for aligning the image planes
%%  图像平面旋转变换矩阵
RPlanes = [dx^2 + dy^2 * cos(t)    dx * dy * (1-cos(t))    dy * sin(t)
          dx * dy * (1-cos(t))  dy^2 + dx^2 * cos(t)    -dx * sin(t)
          -dy * sin(t)          dx * sin(t)             cos(t)];

⌨️ 快捷键说明

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