登录
首页 » matlab » Coordinate-conversion

Coordinate-conversion

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

  • Speed_DCM_2
    power wind generation
    2010-05-27 02:11:43下载
    积分:1
  • Decode_PCM
    本文档分别采用A律和U律进行PCM的解码。(This document use A_law and u_law to decode the PCM code.)
    2012-04-26 23:45:16下载
    积分:1
  • svc-Learn-SVM-Step-by-Step
    一个实例搞定libsvm分类《Learn SVM Step by Step》by faruto2011系列视频-应用篇(An instance to get the the libsvm classification " Learn the SVM Step by Step " by faruto2011 Series Video- Beginner s Guide )
    2012-04-28 05:07:09下载
    积分:1
  • question4
    特征选择与变换的算法实现,计算贡献率与主成分分析(Feature selection and transformation algorithms to calculate the contribution rate and principal component analysis)
    2011-06-06 18:09:51下载
    积分:1
  • NG
    说明:  一个图形界面,可以输入不同类别的信号进行仿真(PLOT )
    2010-03-26 21:33:57下载
    积分:1
  • Delaunay
    delaunary三角剖分,在数据点较小的情况下,运行结果还算客观,但是数据点大于五万时,运行较慢。(Delaunary triangulation, data point in the case of small, the operation results is objective, but the data points is greater than fifty thousand, is running slower.)
    2014-12-09 21:44:53下载
    积分:1
  • 1
    说明:  在命令窗输入如下内容就得到图形了: [t,x]=ode45( godhua ,[0,10],[0,0,0,1]) subplot(131) plot(t,x(:,4)) xlabel( t ) ylabel( y ) subplot(132) plot(t,x(:,1)) xlabel( t ) ylabel( v ) subplot(133) plot(t,x(:,2)) xlabel( t ) ylabel( \theta ) (At the command window type the following content to be the graphics: [t, x] = ode45 (godhua, [0,10], [0,0,0,1]) subplot (131) plot (t, x (:, 4 )) xlabel (t) ylabel (y) subplot (132) plot (t, x (:, 1)) xlabel (t) ylabel (v) subplot (133) plot (t, x (:, 2)) xlabel ( t) ylabel (heta))
    2007-12-09 20:16:04下载
    积分:1
  • bipls
    区间偏最小二乘,主要是用于近红外数据分析(Interval partial least squares, is mainly used for near-infrared data analysis)
    2011-10-16 20:46:01下载
    积分:1
  • monopole3D
    radiation pattern of monopole
    2010-12-04 02:53:47下载
    积分:1
  • Apostila_psim
    Small tutorial of psim
    2015-02-03 09:38:16下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载