Biot Savart magnetic Toolbox
The BSmag Toolbox is a Matlab toolbox for the numerical integration of the Biot-Savart law. It provides a simple solution to calculate the magnetic flux density generated by an arbitrary 3D current carrying filament in the magnetostatic approximation. The code is documented and has been validated. To use, add the "BSmag Core" folder to the path, and run one of the example script.
If you use this code, send me message with the reference and I will add it to the users list. If you would like to acknowledge it (and direct others to it), you could use a reference like this:
[Queval2015] L. Quéval, “BSmag toolbox user manual,” Tech. report, Dept. Elect. Eng., University of Applied Sciences Düsseldorf, Germany, April 2015. Available: http://www.lqueval.com [Accessed April. 07, 2015].
Cite As
Queval Loic (2024). Biot Savart magnetic Toolbox (https://github.com/lqueval/BSmag), GitHub. Retrieved .
L. Quéval, “BSmag toolbox user manual,” Tech. report, Dept. Elect. Eng., University of Applied Sciences Düsseldorf, Germany, April 2015. Available: http://www.lqueval.com [Accessed April. 07, 2015].
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Sciences > Physics > General Physics >
Tags
Acknowledgements
Inspired by: Projects for Scientists and Engineers, Biot-Savart direct integration on a generic curve, Magnetic field of a Circular current loop using Biot Savart's Law, 3D Magnetic Field Computation of a Straight Wire of Finite Length using Biot-Savart's Law
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
BSmag Core
BSmag Examples
BSmag Others
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.1.2.0 | minor update on Github |
|
|
1.1.1.0 | minor modif on Github |
|
|
1.1.0.0 | edit figure |
|