File Exchange

image thumbnail

The Magnetic Vector Field Made By Six Rings of Current

version 1.0 (5.64 KB) by

This code generates the XY vector field of the magnetic field made by six rings of current in a box.

1 Download

Updated

View License

This code generates the XY vector field of the magnetic field made by six rings of current in a box. Raising the number of cells increases the resolution of the vector field.

The size of the machine is the following. Mid-plane to mid-plane is 0.0285 meters. The diameter of the rings is 0.0433 meters. There are 60 amps of current in each ring, with 15 turns. The grid has a height and width of 0.1 meter each. This can be adjusted in the code. The user must give some input:

Number of Cells? (suggest 40):10
Rings To Turn On? (1-6, 0 for all)0

The output is a vector field.

Comments and Ratings (0)

MATLAB Release
MATLAB 7.11 (R2010b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video