The Magnetic Field Made along a Path by Six Rings Of Current

Pick two points. This code gives you the X, Y, Z field along a line from start to finish.
311 Downloads
Aktualisiert 30. Okt 2013

Lizenz anzeigen

This code plots the magnetic field strength as you move from a starting to a finishing point. The six rings, are loops of current placed in a box around the center. You can pick the number of steps taken between each point. The code has issues with 0, I used 1E-8 as a substitute. Here are a couple of important parameters:

- There are: 20,000 Amp*Turns running through each loop.
- The rings have a radius of: 0.127 M
- The rings are located :0.1963 M from the center

You are asked to provide 7 bits of information, below is some example input:

Starting Point
X? :-0.5588
Y? :1E-8
Z? :1E-8

Finishing Point
X? :1E-8
Y? :1E-8
Z? :1E-8
Steps? :40

Zitieren als

Matthew Moynihan (2024). The Magnetic Field Made along a Path by Six Rings Of Current (https://www.mathworks.com/matlabcentral/fileexchange/44144-the-magnetic-field-made-along-a-path-by-six-rings-of-current), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2010b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Physics finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0