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

带电小圆柱的静电场

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

  • TFT3.5
    TFT3.5触摸彩屏 校正,C51单片机程序(TFT3.5 touch color correction, C51 MCU program)
    2013-10-30 10:42:39下载
    积分:1
  • shop
    C#开发的超市系统,包含源码和sqlserver脚本,属于C/S结构(C# shop)
    2016-06-29 16:19:11下载
    积分:1
  • 计算输入的某年某月某日是该年的第几天
    资源描述由用户输入一个日期,年月日形式,计算输入的某年某月某日是该年的第几天
    2022-03-23 13:02:01下载
    积分:1
  • 1-2-15-按键双击和长按程序
    在stm32工程中,长按和短按的代码书写, 调用的读取按键状态的底层函数。封装成的按键函数代码。下面是函数的头文件,和.c文件的代码。使用定时器来扫描按键。(In STM32 project, the code of long press and short press is written, and the underlying function of reading key status is called. Encapsulated key function code. The following is the header file of the function, and the code of the. C file. Use a timer to scan keys.)
    2020-11-03 22:20:00下载
    积分:1
  • Com_N
    本程序调用了微软自带的mscomm控件,实现com口的数据接收,读者可自行添加发送数据功能。内附mscomm.ocx控件及其注册方法,本程序是用的静态链接库,为的是能在没有vc库的机器上也可以运行,所以个头大了点。(Microsoft's own mscomm controls, I realize com data reception, readers can add their own functions to send data. Enclosing mscomm.ocx control and registration method, the procedure is used in the static link library, for the in the absence of vc for the machine can also run, giving the larger point.)
    2005-07-31 09:50:35下载
    积分:1
  • 基于arduino的AS608+RC522极致智能门禁系统程序 ASR MO8-B语音
    包括指纹开锁、语音开锁、刷卡开锁 指纹模块AS608 语音模块ASR MO8-B 射频模块RC522 主控芯片arduino uno 射频卡s50 M1卡 三种开锁方式通过两种时开锁通过 锁使用得是继电器驱动得电磁锁 显示使用的是2.4寸 OLED
    2022-01-22 06:39:41下载
    积分:1
  • STC15W单片机oled显示ds18b20温度值
    IAP15W4K58S4单片机oled显示ds18b20温度值,SSD1306,6引脚OLED,SPI通信方式
    2022-10-07 07:05:03下载
    积分:1
  • restore-the-motion-blurred
    说明:  根据需要输入模糊参数,生成相应的模糊图像,并对模糊图像进行恢复,验证运动模糊图像的恢复算法(Input fuzzy parameters needed to generate the corresponding blurred image,and restore the blurred image to authenticate the algorithm)
    2011-03-07 14:10:05下载
    积分:1
  • style
    :好风格应该成为一种习惯。如果你在开始写代码时就关心风格问 题,如果你花时间去审视和改进它,你将会逐渐养成一种好的编程习惯。一旦这种习惯变成 自动的东西,你的潜意识就会帮你照料许多细节问题,甚至你在工作压力下写出的代码也会 更好。(: Good style should become a habit. If you write code at the beginning when the issue of concern for style, if you take the time to examine and improve it, you will gradually develop a good programming practice. Once this habit becomes automatic things, your subconscious will help you take care of many details, and even under the pressure of your work will be better to write code.)
    2008-07-21 15:42:50下载
    积分:1
  • matlab
    ) 使用分块的主成分分析方法(PCA)对人脸图像进行压缩编码。针对PCA方法计算量大的缺点,首先把问题转化成奇异值分解(SVD)问题,然后设计了特征空间的更新算法,通过递推,简化每一步计算的计算量,达到了实时编码的要求。 4) 在Windows平台下基于Video for Windows(VFW)接口开发了人脸视频图像编码和解码的实验系统,该系统实现了图像采集、图像显示、编码、解码等功能。() The use of sub-blocks of principal component analysis (PCA) on the human face image coding. PCA method for large defects, first of all the issues into a singular value decomposition (SVD) problem, and then design a feature space of the update algorithm, recursive, simplifying the calculation of the amount calculated at each step to achieve real-time encoding requirements. 4) In the Windows platform based on Video for Windows (VFW) interfaces, the human face image coding and decoding video experimental system, the system achieved image acquisition, image display, encoding, decoding functions.)
    2010-05-11 12:03:24下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载