Magnetic fields of solenoids and magnets
Cite As
David CEBRON (2026). Magnetic fields of solenoids and magnets (https://www.mathworks.com/matlabcentral/fileexchange/71881-magnetic-fields-of-solenoids-and-magnets), MATLAB Central File Exchange. Retrieved .
Cébron, David. Analytical Magnetic Fields of Cylindrical & Cuboidal Magnets. 2021, https://doi.org/10.5281/ZENODO.15081750.
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Control Systems > Control System Toolbox > Control System Design and Tuning > State-Space Control Design and Estimation >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.1 | Zenodo source and DOI reference added |
||
| 1.0.4 | Small misprint in the documentation |
||
| 1.0.3 | Thanks to Max Oberländer : correction of an error present in the formula of Camacho & Sosa (2013), on which my script relies for cuboidal magnets. See details in the enclosed documentation. |
||
| 1.0.2 | Only changed the picture |
||
| 1.0.1 | Documentation added (with details on the analytical expressions used). |
||
| 1.0.0 |
