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:
% 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);
- added instrutions
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.