The Magnetic Field Made By Six Rings of Current - Enter Value
This code finds the magnetic field strength (in gauss) for an X, Y and Z coordinate inside 6 rings in a box. The center of the structure is the point (0, 0, 0). The rings are numbered 1-6. Each ring has a radius of 0.127 meters, there is 0.1963 meters from mid-plane to mid-plane and each ring has 20,000 ampturns.
The user enters values in meters:
X? :0.1
Y? :-0.1
Z? :0.05
The user gets an output in Gauss:
X :877.8909 (gauss)
Y :-877.8909 (gauss)
Z :678.0095 (gauss)
and the component vectors:
X-Direction
=======
Ring One, BRad: #, BLinear:#
Ring Two, BRad: #, BLinear:#
Ring Three, BRad: #, BLinear:#
Ring Four, BRad: #, BLinear:#
Ring Five, BRad: #, BLinear:#
Ring Six, BRad: #, BLinear:#
Etc....
Zitieren als
Matthew Moynihan (2024). The Magnetic Field Made By Six Rings of Current - Enter Value (https://www.mathworks.com/matlabcentral/fileexchange/43848-the-magnetic-field-made-by-six-rings-of-current-enter-value), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Sciences > Physics > General Physics >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
All Rings - Enter Value/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |