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

带电小圆柱的静电场

于 2022-05-20 发布 文件大小:1.10 kB
0 136
下载积分: 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 个回复

  • C++作业
    大学初学计算机编程语言C++以及数据结构与算法的实际应用题代码(University beginner computer programming language C++ and practical application code of data structure and algorithm)
    2018-11-22 11:40:38下载
    积分:1
  • bbc
    开发工具vs2008 用opengl画的一个金字塔正四面体,左右旋转,上下放大缩小,f开关灯,t改变纹理,鼠标改变视距(Development tools vs2008 opengl draw a pyramid regular tetrahedron, the left and right rotation, zooming up and down, the the f light switch, t change the texture, the mouse to change the line-of-sight)
    2012-09-10 22:31:01下载
    积分:1
  • uart
    ATMEL 128 UART PROGRAM
    2009-04-14 01:25:18下载
    积分:1
  • HeterogeneityLink(VS2010-CPP)
    VS2010开发 C++语言 实现异质链表(The VS2010 development C++ language heterogeneity linked list)
    2012-12-14 23:41:30下载
    积分:1
  • Matlab_VC
    Matlab 和VC,用MATLAB产生dll。然后再VC里面调用dll文件(Matlab and VC ,dll)
    2011-10-14 11:20:08下载
    积分:1
  • 快速傅立叶变换FFT C代码
    模仿matlab的快速傅立叶变换FFT函数,但输入的数量只能2的N次方,经本人验证可以确认输出结果跟matlab的FFT函数输出基本一致
    2022-03-14 16:26:36下载
    积分:1
  • msp430fg439心电信号采集及相关例程
    详细的关于外围模块如何调用的例程,同时还有利用msp430fg439采集心电信号并传入pc机的完整代码
    2022-04-07 10:31:09下载
    积分:1
  • Photo
    说明:  图形处理功能,有滤波功能,边缘提取等各个方面,值得一看(Graphics processing capabilities, has filtering, edge detection and other aspects, see)
    2008-08-30 17:26:54下载
    积分:1
  • DSP2407-DA
    TI的2407芯片DAC控制程序。有工程很完善,并已调试通过。(TI 2407 chip DAC control procedures. That construction works are perfect, and has been through debugging.)
    2012-06-20 15:16:25下载
    积分:1
  • linengcanshu
    本软件能根据轧制工艺条件快速准确地计算出轧制力,并已经通过实际检测,与实际值误差在10%之内,建议教学轧制力时采用(software based on the rolling conditions quickly and accurately calculate the rolling force, and has adopted effective detection, and the actual value of the 10% error within the recommended teaching rolling force used.)
    2007-06-23 14:02:08下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载