The Magnetic Vector Field Made by a Ring of Current

版本 1.0.0.0 (4.7 KB) 作者: Matthew Moynihan
This code makes the vector field generated by a single ring of current.
698.0 次下载
更新时间 2013/10/7

查看许可证

This code finds the vector field, generated by a single ring of current. This is displayed in the XY plane, which works since the field is radially symmetric. It sets up a matrix of points with a height and width centered on the (0,0) point. The ring sits along the Y axis. The ring has a radius of :0.127 M and 800000 AmpTurns inside the coil. Some input is needed:

Plane Height? (suggest: 0.35):0.35
Plane Width? (suggest: 0.65):0.65
Number of cells? :40

The output is the vector field plot. The user can also access the direction vectors and the magnetic field strength (in Gauss). This is saved within the data structure: VectorField.

引用格式

Matthew Moynihan (2024). The Magnetic Vector Field Made by a Ring of Current (https://www.mathworks.com/matlabcentral/fileexchange/43777-the-magnetic-vector-field-made-by-a-ring-of-current), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Physics 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0