登录
首页 » matlab » Coordinate-conversion

Coordinate-conversion

于 2014-12-12 发布 文件大小:100KB
0 252
下载积分: 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 个回复

  • nvh
    NVH用7自由度模型,simulink,可重新设定参数(NVH model with seven degrees of freedom, simulink, can be re-set parameters)
    2021-03-16 16:09:22下载
    积分:1
  • matlab_LPC
    说明:  一个使用matlab进行音频信息处理的实例,对输入的语音信号,进行合成与分析。(Using matlab audio examples of information processing, the input voice signal, to carry out synthesis and analysis.)
    2008-10-06 16:31:35下载
    积分:1
  • threephasefull
    Three phase full wave rectifier simulation using matlab, simulink
    2014-01-29 17:50:15下载
    积分:1
  • ring-spectrum
    说明:  计算微环的谐振曲线与频谱。包括微环FANO效应下的频谱.(calculate the spectrum of micro-ring, including the spectrum under fano-effect)
    2010-05-04 17:14:10下载
    积分:1
  • qam16
    16qam星座点仿真实验,加入高斯白噪声,无衰落信道(16qam BER simulation, adding white Gaussian noise, no fading channel)
    2021-03-30 19:19:10下载
    积分:1
  • Shape_Recognition
    The program should recognize objects like circles, rectangles, and squares from the input image.
    2007-10-23 08:42:32下载
    积分:1
  • genetic-algorithm
    说明:  用基本遗传算法求解一维无约束优化问题 用顺序选择遗传算法求解一维无约束优化问题 用动态线性标定适应值的遗传算法求解一维无约束优化问题 用大变异遗传算法求解一维无约束优化问题 用自适应遗传算法求解一维无约束优化问题 用双切点遗传优化求解一维无约束优化问题 用多变异位自适应遗传优化求解一维无约束优化问题 (The basic genetic algorithm with one-dimensional sequence of unconstrained optimization problems using genetic algorithm selected one-dimensional non-linear constrained optimization problem of dynamic calibration of genetic algorithm to adapt to the value of one-dimensional unconstrained optimization genetic algorithm with a large variation of one-dimensional unconstrained adaptive genetic algorithm for optimization problem solving unconstrained optimization problems one-dimensional cut by two-dimensional point of GA for solving a problem of unconstrained optimization adaptive genetic optimization with variable ectopic solving one-dimensional unconstrained optimization problem)
    2011-02-23 11:22:42下载
    积分:1
  • two_level_FOC
    针对异步电动机转子磁链定向的矢量控制系统,逆变部分采用的三电平拓扑结构,算法是采用的传统的SVPWM调制方法。(For the vector control system of induction motor rotor flux orientation, the three level topology is adopted in the inverter, and the algorithm is the traditional SVPWM modulation method.)
    2016-12-29 19:46:49下载
    积分:1
  • TSP
    使用模拟退火算法解决旅行商问题的MATLAB源程序,可直接运行(Using the simulated annealing algorithm to solve traveling salesman problem MATLAB source code can be directly run)
    2010-09-03 17:39:33下载
    积分:1
  • matlab_fuction
    说明:  matlab 编程中常用的函数,不会时可以拿来看看(matlab normal fuction )
    2011-03-14 14:47:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载