登录
首页 » matlab » gravity

gravity

于 2013-03-20 发布 文件大小:284KB
0 257
下载积分: 1 下载次数: 11

代码说明:

  function dg=gplus(x,y,z,x1,x2,y1,y2,z1,z2,p) G=6.67e-11 t222=myfun(x,y,z,x2,y2,z2) t122=myfun(x,y,z,x1,y2,z2) t212=myfun(x,y,z,x2,y1,z2) t221=myfun(x,y,z,x2,y2,z1) t211=myfun(x,y,z,x2,y1,z1) t121=myfun(x,y,z,x1,y2,z1) t112=myfun(x,y,z,x1,y1,z2) t111=myfun(x,y,z,x1,y1,z1) dg=-G*p*1e6*(t222-t122-t212-t221+t211+t121+t112-t111) 转化为g.u. function y=myfun(x,y,z,xi,eta,zeta) R=sqrt((xi-x).^2+(eta-y).^2+(zeta-z).^2) temp1=(xi-x).*log((eta-y)+R) temp2=(eta-y).*log((xi-x)+R) temp3=(zeta-z).*atan((zeta-z).*R/((xi-x).*(eta-y))) 书中所给公式 temp3=-(zeta-z).*atan((xi-x).*(eta-y)./(zeta-z)./R) 上式变换 y=temp1+temp2+temp3 (function dg = gplus (x, y, z, x1, x2, y1, y2, z1, z2, p) G = 6.67e-11 t222 = myfun (x, y, z, x2, y2, z2) t122 = myfun (x, y, z, x1, y2, z2) t212 = myfun (x, y, z, x2, y1, z2) t221 = myfun (x, y, z, x2, y2, z1) t211 = myfun (x, y, z, x2, y1, z1) t121 = myfun (x, y, z, x1, y2, z1) t112 = myfun (x, y, z, x1, y1, z2) t111 = myfun (x, y, z, x1, y1, z1) dg =-G* p* 1e6* (t222-t122-t212-t221+t211+t121+t112-t111) converted the Gu function y = myfun, (x y, z, xi, eta, zeta) R = sqrt ((xi-x). ^ 2+ (eta-y). ^ 2+ (zeta-z). ^ 2) temp1 = (xi-x).* log ((eta-y)+R) temp2 = (eta-y).* log ((xi-x)+R) temp3 = (zeta-z).* atan ((zeta-z).* R/( (xi-x).* (eta-y))) book given formula Temp3 =- (Zeta-z)* ATAN ((Xi-X)* (ETA-y)/(Zeta- Z)/R) the above formula transform Y = temp1+temp2+temp3 )

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

发表评论

0 个回复

  • KMP-in-matlab
    matlab kmp source code
    2013-07-09 13:30:49下载
    积分:1
  • 5GDL
    5自由度机器人,运用牛顿欧拉定理,最终求得力矩 注解为西班牙语,google翻译一下比较好懂(5 DOF robot, using Newton Euler' s theorem, the final moment annotations obtained Spanish, google translate better understand)
    2014-11-23 23:48:49下载
    积分:1
  • 8fact
    北大高慧璇版《应用多元统计分析》第8章8因子分析MATLAB编程源码(Applied Statistical Analysis)
    2011-12-01 09:08:13下载
    积分:1
  • blast
    blast检测方案仿真程序.rar (blast检测方案matlab仿真程序)(blast simulation program testing program. rar (blast detection program matlab simulation program))
    2007-08-22 10:34:57下载
    积分:1
  • MMM
    3 plane wave to solve band structure
    2009-06-25 13:53:23下载
    积分:1
  • kalman
    卡尔曼滤波算法的一个例子,注释详尽,训练测试分开编写,带有详尽数据,可以用来深刻理解kalman算法(Kalman filter algorithm examples, detailed notes, training tests prepared separately, with detailed data that can be used to a deep understanding of kalman algorithm)
    2013-07-19 10:47:02下载
    积分:1
  • MexFunction
    这个程序使用vc++实现的一个工程,这个工程的作用就是完整实现了MATLAB和vc++混合编程的关键函数的功能-mexfunction。有其详细的开源代码!(This program uses the vc++ implementation of a project, the role of this project is to complete implementation of the MATLAB and vc++ mixed programming function of the key functions-mexfunction. Has its open source code in detail!)
    2010-12-28 11:02:57下载
    积分:1
  • keshe
    电信课程设计题目要求图片以及实现上的程序代码 实验结果图片(Telecommunications curriculum subject requirements of the picture of the picture and the realization of the program code on the experimental results)
    2012-06-19 09:23:23下载
    积分:1
  • jiaosulvpipeikaermanlvbo
    捷联式惯性导航的角速率匹配卡尔曼滤波,使用matlab语言编写(Strapdown inertial navigation of angular rate matching kalman filter)
    2014-01-13 15:52:15下载
    积分:1
  • tianxian
    绘制在收发天线间夹角不同时,天线的垂直极化三维方向图和水平极化三维方向图(Drawing the angle between the transmitting and receiving antennas is not the same, the three-dimensional antenna vertically polarized and horizontally polarized pattern dimensional pattern)
    2014-02-15 10:08:53下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载