登录
首页 » matlab » gravity

gravity

于 2013-03-20 发布 文件大小:284KB
0 277
下载积分: 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 个回复

  • multipath_chann
    OFDM系统仿真,多径传播信道程序,对移动通信环境进行仿真(OFDM system simulation, multi-path propagation channel program, the simulation of mobile communications environment)
    2010-05-23 00:06:54下载
    积分:1
  • erreur(4algorithmes)
    les 4 algorithmes standards de localisation en matlab
    2015-02-16 20:57:51下载
    积分:1
  • Desktop
    激光原理中如何用matlab做谐振腔模式分析,这里是平凹谐振腔模式(Laser principle of how to use matlab to do cavity mode analysis, here is a plane concave cavity mode)
    2020-12-20 21:49:08下载
    积分:1
  • COS207_MATLAB
    移动无线信道COS207模型MATLAB程序(Mobile radio channel model MATLAB procedures COS207)
    2008-01-15 15:31:45下载
    积分:1
  • matlab-shibie
    说明:  用matlab程序编写的一种车牌自动识别的程序,简单实用。(Matlab programming with a license plate recognition program, simple and practical.)
    2011-03-27 19:50:17下载
    积分:1
  • hopfield
    提供了hopfield 的MATLAB程序,该程序简单易行,可以在MATLAB中得到应用(Introduce a program about the hopfield ,the program is easy and can be used in the program.)
    2012-04-02 17:27:18下载
    积分:1
  • Matlabwork
    wind farm simulation to control the active and reactive power with taiy line
    2013-11-29 21:42:18下载
    积分:1
  • log_msg
    Logging message in matlab
    2013-12-06 17:17:08下载
    积分:1
  • imperfect_channel_gain
    this m.file produces channel coefficient with some error, in which the estimation error follows a random variable with zero mean and variance of MSE. lat is the latitude of BS places at different cells which is used to determine the number of BSs in the networks
    2013-12-28 19:12:17下载
    积分:1
  • sun_seeker
    this model show the design of sun seeker control system using neural network model refrence with neural network toolbox and SIMULINK with MATLAB
    2014-02-03 16:34:37下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载