Code covered by the BSD License  

Highlights from
Compute Induced Electric Field

Be the first to rate this file! 29 Downloads (last 30 days) File Size: 902 KB File ID: #42538 Version: 1.1
image thumbnail

Compute Induced Electric Field

by

 

08 Jul 2013 (Updated )

Calculate the induced electric field using the integral expression.

| Watch this File

File Information
Description

The calculation of the induced electric field is based on an integral expression. Thus, the distribution of electric field induced by changing magnetic field distributed within an arbitrary polygon can be obtained.
For more details about this method, see:
http://wenku.baidu.com/view/77ef9de3b8f67c1cfad6b815.html
Examples:
% define a L-shaped polygon
L_shapled_polygon = [2,2;8,2;8,5;4.9,4.9;5,8;2,8];
px = L_shapled_polygon(:,1);
py = L_shapled_polygon(:,2);
% compute the induced electric field
[x,y] = meshgrid(0:0.5:10);
[Ex,Ey] = CurlPoly([px,py],x,y);
E = sqrt(Ex.^2+Ey.^2);
figure
surfc(x,y,E)
figure
hold on
quiver(x,y,-Ex,-Ey)
contour(x,y,E,20)
plot([px;px(1)],[py;py(1)],'r')

Required Products Partial Differential Equation Toolbox
MATLAB
MATLAB release MATLAB 7.12 (R2011a)
MATLAB Search Path
/
/Compute Induced Electric Field
/Compute Induced Electric Field/polygon
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
12 Jan 2015 1.1

- added instrutions
- added missing files
- rearranged the structure

Contact us