登录
首页 » c » 带电小圆柱的静电场

带电小圆柱的静电场

于 2022-05-20 发布 文件大小:1.10 kB
0 126
下载积分: 2 下载次数: 1

代码说明:

%  高等电磁理论 第一次作业%  %  设带电小圆柱几何中心为坐标原点,长轴为z轴% % 圆柱参数clear;clf;clc;cR=0.5;    % 半径cL=4;    % 长度cRho=1;  % 电荷密度cK=1;    % 系数% 坐标轴[crdX,crdY,crdZ]=meshgrid(-5:1:5);% 求电势ticphi=(cRho/cK)*arrayfun(@(cX,cY,cZ)quadl(@(x)arrayfun(...    @(zz)quad2d(@(y,x)1./sqrt((cX-x).^2.+(cY-y).^2.+(cZ-zz).^2),...    -cR, cR, @(y)-sqrt(cR^2-y.^2), @(y)sqrt(cR^2-y.^2)), x), -cL/2, cL/2), crdX, crdY, crdZ);toctic[u,v,w]=gradient(-phi); % 对电势求梯度得到电场

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

发表评论

0 个回复

  • UDF
    UDF用于FLUENT计算比热容随温度变化(The UDF was used in FLUENT to calculate the change of specific heat capacity with temperature)
    2021-04-12 17:08:57下载
    积分:1
  • MATLABmusic1
    Matlab程序代码 音乐代码 1 《卡农》(MATLAB music code1)
    2012-08-11 15:49:31下载
    积分:1
  • vector-control
    异步电机矢量控制程序,dsp2808、dsp2812,32变换,22变换,速度检测,磁链观测等模块均有(Induction motor vector control program, dsp2808, dsp2812, 32 transformation, 22 transformation, speed detection, and other modules are flux observer)
    2014-04-09 21:02:49下载
    积分:1
  • htmlCtrl
    使用web控件,可以借鉴。而且是完整的程序,第一次发,希望大家多多指教。(Using the web control)
    2017-11-25 22:34:30下载
    积分:1
  • EasyChart.StockDemo
    EasyChart.StockDemo网络上找的(EasyChart.StockDemo)
    2020-06-25 09:20:01下载
    积分:1
  • particlefilter
    粒子滤波器使用示例,用于跟踪效果好,用VC++实现(example of particle filter)
    2009-07-02 11:13:43下载
    积分:1
  • niudun
    牛顿下山算法 牛顿迭代算法 和牛顿差值多项式 (Newton downhill method the difference between Newton and Newton polynomial algorithm)
    2011-05-14 18:52:04下载
    积分:1
  • linked
    关于二叉树的一些相关代码,运用链表的形式,求二叉树的高度,结点个数以及叶节点个数(Some of the relevant code on the binary tree, using a linked list, find the height of a binary tree, the number of nodes, and the number of leaf nodes)
    2013-02-03 11:10:07下载
    积分:1
  • C++函数库.docx (含相关示例代码)
    【实例简介】
    2021-08-08 00:31:02下载
    积分:1
  • 用C#处理照片,加边框等。
    用C#处理照片,加边框等。-用C#
    2022-02-25 22:03:06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载