91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 0M
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-13
  • 語言: Matlab
  • 標簽: 其他??

資源簡介

matlab坐標平移旋轉源代碼.zip

資源截圖

代碼片段和文件信息

function?Re?=?coordinateRotation(Xoritheta)
%?作者:BaShan
%?郵箱:moveon5@163.com
%?函數名稱:坐標繞點旋轉函數
%?調用格式為:Re?=?coordinateRotation(Xoritheta)
%?X為原始坐標點?(mx2);ori旋轉中心?(1x1);theta為旋轉角,為正順時針方向,為負逆時針方向。

if?nargin?==?3
????theta?=?-?theta;
????xo?=?X(:1);
????yo?=?X(:2);
????tha?=?theta*pi/180;
????x?=?(xo-ori(1))*cos(tha)?-?(yo-ori(2))*sin(tha)?+?ori(1);
????y?=?(xo-ori(1))*sin(tha)?+?(yo-ori(2))*cos(tha)?+?ori(2);
????Re?=?[xy];
else
????disp(‘輸入參數不正確‘);
end

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????543??2018-03-16?08:54??matlab坐標平移旋轉源代碼\coordinateRotation.m
?????文件?????????615??2018-03-16?08:54??matlab坐標平移旋轉源代碼\coordinateTransformation.m
?????目錄???????????0??2018-03-16?08:58??matlab坐標平移旋轉源代碼\

評論

共有 條評論