MagLforce
Version 1.0.0.0 (1.13 MB) by
Abdulwahab Abokhodair
Draws lines of force of a magnetic dipole field in 2 and 3D.
3.7K Downloads
Updated
19 Dec 2005
No License
This zip-file contains two m-files that plot the lines of force a magnetic dipole filed. The files are useful for educational purposes and as illustrations of the Geocentric Axial Dipole Field of the Earth.
Usage of the functions is simple.
h = lforce2d(NumberOfLines, LineColr);
h = lforce3d(NumberOfLines, LineColr);
Three functions from File-Exchange are used as subfunctions:
(1) fcilrcle.m and plotvec.m both by:
B. Rasmus Anthin
(2) arrow3.m by:
Jeff Chang and Tom Davis.
Cite As
Abdulwahab Abokhodair (2026). MagLforce (https://www.mathworks.com/matlabcentral/fileexchange/9397-maglforce), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14SP3
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
