登录
首页 » matlab » Coordinate-conversion

Coordinate-conversion

于 2014-12-12 发布 文件大小:100KB
0 298
下载积分: 1 下载次数: 17

代码说明:

  坐标转换(四参数) [row col]=size(source) for i=1:row u(i)=source(i,2) v(i)=source(i,3) x(i)=source(i,4) y(i)=source(i,5) B(2*i-1,1)=1 B(2*i-1,2)=0 B(2*i-1,3)=u(i) B(2*i-1,4)=-v(i) B(2*i,1)=0 B(2*i,2)=1 B(2*i,3)=v(i) B(2*i,4)=u(i) L(2*i-1,1)=x(i) L(2*i,1)=y(i) end X=inv(B *B)*(B *L) Txy=[X(1) X(2)] xzjz(1,1)=X(3) xzjz(1,2)=-X(4) xzjz(2,1)=X(4) xzjz(2,2)=X(3) [row1 col1]=size(target) for i=1:row1 u1(i)=target(i,2) v1(i)=target(i,3) d=[u1(i) v1(i)] md=Txy+xzjz*d end end (Coordinate conversion: [row col]=size(source) for i=1:row u(i)=source(i,2) v(i)=source(i,3) x(i)=source(i,4) y(i)=source(i,5) B(2*i-1,1)=1 B(2*i-1,2)=0 B(2*i-1,3)=u(i) B(2*i-1,4)=-v(i) B(2*i,1)=0 B(2*i,2)=1 B(2*i,3)=v(i) B(2*i,4)=u(i) L(2*i-1,1)=x(i) L(2*i,1)=y(i) end X=inv(B *B)*(B *L) Txy=[X(1) X(2)] xzjz(1,1)=X(3) xzjz(1,2)=-X(4) xzjz(2,1)=X(4) xzjz(2,2)=X(3) [row1 col1]=size(target) for i=1:row1 u1(i)=target(i,2) v1(i)=target(i,3) d=[u1(i) v1(i)] md=Txy+xzjz*d end end )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • cfar
    再假定条件下雷达的快门限恒虚警处理及慢门限恒虚警处理(Further assumed that under the condition of the shutter limit radar CFAR processing and slow threshold CFAR processing)
    2009-05-22 09:40:22下载
    积分:1
  • Cra
    说明:  forward处理程序,使用于煤炭、石油、天然气行业(forward processing procedures used in coal, oil, gas industry)
    2010-03-24 08:55:37下载
    积分:1
  • voice-activity-detection-algorithm-
    基于小波分析和支持向量机的语音激活检测 一种方法(Based on wavelet analysis and support vector machine voice activity detection)
    2011-05-02 10:52:46下载
    积分:1
  • DGnetwork
    微电源并网,实现分布式电源构成的微电网,用于微电网仿真(Micro power grid, the realization of distributed power of micro grid,For micro power grid simulation)
    2021-04-22 17:38:48下载
    积分:1
  • ellipse
    此代码是用来绘制椭圆的,能够在matlab的编程环境下实现椭圆的绘制(This code is used to draw the ellipse, and able to achieve matlab programming environment to draw the ellipse)
    2011-05-21 09:22:06下载
    积分:1
  • PMSM_FOC
    永磁同步电机的矢量控制系统仿真,采用id=0的控制策略。在此基础上加入位置环,实现永磁同步电机的伺服系统(Permanent magnet synchronous motor vector control system simulation, using the id = 0 control strategy. On this basis, adding the position loop, to achieve permanent magnet synchronous motor servo system)
    2020-11-20 11:39:36下载
    积分:1
  • annbp
    In machine learning, artificial neural networks (ANNs)
    2015-01-06 23:41:56下载
    积分:1
  • lidu
    利用数字图象处理技术对粒度进行分析和处理(Using digital image processing technology to analyze and process granularity)
    2010-08-21 10:02:02下载
    积分:1
  • pip_audio
    这是一段用于谱分析算法中的求蝶形算子的 子程序,此程序采用C语言编写,移植性比较强(This is a period for the spectral analysis algorithm for the subroutine butterfly operator, this procedure using C language, the transplantation of relatively strong)
    2008-03-17 18:31:09下载
    积分:1
  • 280_FA4-3
    Predictive Control of Helicopter
    2012-06-13 21:19:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载