Biot Savart magnetic Toolbox
Updated 21 Mar 2020
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].
Queval Loic (2023). 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 CompatibilityWindows macOS Linux
- Sciences > Physics > General Physics >
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.
Versions that use the GitHub default branch cannot be downloaded
minor update on Github
minor modif on Github