magnetic field simulator
The function computes the magnetic field H induced by a given conductors geometry. The geometry is represented by straight conductors ("current sticks"). Theory of this numerical technique may be found in "Electromagnetic fields and Energy" by Hermann A. Haus, page 322.
Written by Prof. Yoash Levron, Technion, Israel, 2014.
FUNCTION INPUTS
The shape of conductors is represented by "current sticks". For example, a square conductor is represented by four sticks.
FROM - an array of vector points indicating where each current stick starts. FROM(i,:) is a raw vector (x,y,z), indicating a point in 3-D space. Units in meters [m]
TO - same as FROM. Indicating where each current stick ends.
CUR - Column Vector representing the current of each stick. CUR(i) is a scalar. Units in Amperes [A]
R - Observation points. An array of vector points in which the magnetic field is to be calculated. R(i,:) is a raw vector (x,y,z), indicating a point in 3-D space. Units in meters [m].
FUNCTION OUTPUT
Hmat - the magnetic field H at the observation points. Hmat(i,:) is a raw vector (Hx,Hy,Hz), indicating the magnetic field vector in Cartesian coordinates. Units are [A/m].
Citar como
yoash levron (2024). magnetic field simulator (https://www.mathworks.com/matlabcentral/fileexchange/48990-magnetic-field-simulator), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |