登录
首页 » matlab » Coordinate-conversion

Coordinate-conversion

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

  • fuzzy-controller
    模糊pid控制 完成位置跟踪 模糊pid控制 完成位置跟踪(fuzzy pid controller)
    2013-01-11 16:05:24下载
    积分:1
  • Kmeans
    网上到处都是一维k均值聚类,而这是一个二维k均值聚类的代码,老外写的,说明较详细,稍加修改就可以融入自己的项目中。(Everywhere online one-dimensional k-means clustering, which is a two-dimensional k-means clustering code, written by foreigners, the more detailed, slight modifications can be integrated into the project.)
    2013-01-27 16:27:13下载
    积分:1
  • gabor_decon
    Gabor地震反褶积程序,使用Gabor 变换和傅立叶算子设计(Gabor Deconvolution seismic deconvolution using the Gabor transform with Fourier operator design. )
    2012-04-14 09:53:21下载
    积分:1
  • simple_eig
    It is a programm for solving the enginvalue simple_eig
    2011-01-17 11:12:41下载
    积分:1
  • 91651897-Goldsmith-Wireless-Communications-Soluti
    Solutiona Manual Andrea Goldsmith Wireless Communications
    2013-10-09 14:51:34下载
    积分:1
  • practise
    matlab的教程,例题,包括数值,符号,图像等运算及答案(matlab tutorials, sample questions, including the values, symbols, images and other computing and answers)
    2008-04-03 14:34:43下载
    积分:1
  • GA_PSO
    利用GA來模擬鳥群尋找食物的行為,方法就是找尋距離食物最近的鳥之周圍區域及根據自己本身飛行的經驗判斷食物的所在(The use of GA to simulate the behavior of the flock in search of food, the methodology is to find the nearest bird food from around the region and according to their own experience of flying to judge the location of food)
    2010-01-16 00:26:54下载
    积分:1
  • love-model
    混沌系统的love-model的MATLAB程序(Love-model chaotic system MATLAB program)
    2014-11-26 09:37:09下载
    积分:1
  • CHAPTER10
    数字PID的matlab仿真程序,针对刘金琨的先进PID控制的matlab仿真,里面的部分程序进行了修改 第十章(Digital PID of matlab simulation program for Liu Jinkun matlab advanced PID control simulation, which part of the program were modified Chapter)
    2011-04-22 21:21:10下载
    积分:1
  • ekfslam_v1.0
    通过采用ekf算法来实现SLAM,对比了真实值与采用算法后计算结果,说明程序的可行性。(EKF-SLAM Simulator ------------------ This simulator demonstrates a simple implementation of standard EKF-SLAM. It permits simple configuration via configfile.m to perform SLAM with various control parameters, noises, etc. Also various switches are available to choose known data-association versus gating, etc. The key file in this simulator is called ekfslam_sim.m . Type help ekfslam_sim for more information of how to use it. In addition to on-line animations, the simulator returns a data-structure of the logged state information for off-line processing. An example use of this data is shown in m-file plot_feature_loci.m , which plots the trajectories of the landmark estimates. Tim Bailey and Juan Nieto 2004. )
    2012-05-21 12:08:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载