登录
首页 » matlab » Coordinate-conversion

Coordinate-conversion

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

  • Gauss_Elimination_with_Back_Substitution_and_Parti
    這是我用scilab寫的高私後向消去與樞軸的程式語法,和高絲後向消去法的差異可見(This is what I write with scilab after the high-private programs to eliminate and pivot grammar, and high-thread after the elimination of the difference can be seen)
    2010-06-19 03:17:59下载
    积分:1
  • part2
    北工大matlab电子课件,陆续还有好多,很全的,希望大家下个痛快(err)
    2007-12-28 12:58:38下载
    积分:1
  • A_Software_Defined_GPS_and_Galileo_Receiver
    Software-defined radios (SDRs) have been around for more than a decade. The first complete Global Positioning System (GPS) implementation was described by Dennis Akos in 1997. Since then several research groups have presented their contributions.We therefore find it timely to publish an up-to-date text on the subject and at the same time include Galileo, the forthcoming European satellitebased navigation system. Both GPS and Galileo belong to the category of Global Navigation Satellite Systems (GNSS).
    2009-04-09 07:14:21下载
    积分:1
  • ABC人工蜂群算法
    利用ABC(人工分群算法)求解数值计算问题。(ABC (artificial clustering algorithm) is used to solve numerical problems.)
    2020-06-17 03:20:01下载
    积分:1
  • xing_xin
    理论力学之行星引力加速的matlab计算机模拟主程序名xxyljs.m(Theoretical mechanics of the planetary gravitational acceleration matlab computer simulation of the main program name xxyljs.m)
    2009-12-27 08:53:47下载
    积分:1
  • sphere_decoder
    sphere decoding for MIMO communication system (sphere decoding for MIMO communication sy stem)
    2006-10-01 20:48:50下载
    积分:1
  • AQM_matrix_Stability
    AQM网络仿真,编写matlab的.m文件(Copyright (c) 2009-2015, Yang Xiao Copyright (c) 2009, John D Errico All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution * Neither the name of the Beijing Jiaotong University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. )
    2013-09-11 19:29:29下载
    积分:1
  • beammatlab
    将梁分成9个单元,在中间受力,建立整体的刚度矩阵,建立整体模型。(The beam is divided into nine units, in the middle forces, the establishment of the overall stiffness matrix, the establishment of the overall model.)
    2009-02-14 10:27:40下载
    积分:1
  • inverter_models
    different mathematical models of invertor in different frame of refrences
    2009-11-17 08:41:45下载
    积分:1
  • control-deg
    This is control design and simulation document of PMSM. Hope you can edit and use it to your exercise. It is not actually integrated but I think it will be useful for you.
    2013-11-07 23:16:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载