登录
首页 » matlab » gravity

gravity

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

  • ASLtbx
    是生物医学工程专业脑功能后处理软件,用于脑出血,脑梗死血流变化的相关研究领域。(Biomedical engineering is the brain function processing software for cerebral hemorrhage, cerebral blood flow changes in the relevant field of study.)
    2014-01-18 22:55:54下载
    积分:1
  • OFDM2
    2个不同调制方式的MATLAB仿真程序,是QPSK和QAM的,都非常好(Two different modulation of the MATLAB simulation program is QPSK and QAM, are very good)
    2007-07-18 16:37:51下载
    积分:1
  • NeuralNetworkTheoryandMATLAB7
    神经网络理论与MATLAB7实现 很详细 对学习神经网络很有帮助(Neural Network Theory and MATLAB7 to achieve a very detailed very helpful for learning neural networks)
    2009-12-12 17:42:02下载
    积分:1
  • 117790CoxMwk_UY
    一个基于离散余弦变换的水印算法的matlab程序(嵌入、提取)(one based on discrete cosine transform the watermark algorithm Matlab (embedding and extraction))
    2006-06-02 19:46:11下载
    积分:1
  • band gap of photonic rystal
    计算二维光子晶体的带隙和能带面,适合comsol3.5版本(Calculation of band gap and band surface of photonic crystal)
    2017-12-24 11:09:13下载
    积分:1
  • aybook.cn_sonrifwmidned1021
    敏捷测试方法研究敏捷测试方法研究敏捷测试方法研究敏捷测试方法研究敏捷测试方法研究敏捷测试方法研究(software outspurcing)
    2010-03-09 16:11:40下载
    积分:1
  • lorenzhundun
    使用matlab产生混沌时间序列的源代码(use Matlab chaotic time series generated source code)
    2007-06-04 10:38:45下载
    积分:1
  • zaoshengxitongbianshi
    含有噪声的多维非线性系统辨识!!! (Noisy multi-dimensional non-linear system identification! ! !)
    2009-11-13 16:44:55下载
    积分:1
  • optical-flow-and-video-processing
    Real time optical flow, and video processing, with support for camera input in Matlab.(Start by running "runMe.m" Supports input through: a) synthetically generated test images b) reading avi-file c) camera input (requires image aquisition toolbox) Calculates optical flow by 4 different local methods(all moment based), 2 implementations of Lucas and Kanade, and 2 implementations of point-line flow. Can process easily hundreds of frames per second on a laptop for resolution 200x200 images.)
    2013-10-03 22:38:20下载
    积分:1
  • bisection
    bisection , Bi-section
    2014-01-05 23:24:14下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载