matlab coefs,国际地磁参考场模型(IGRF)

本文介绍了将FORTRAN子程序转换为MATLAB实现的地球磁场模型——国际地磁参考场(IGRF)。该程序不需要编译,易于使用,提供了一个向量化函数以计算指定点的磁场,并能加载不同时间的系数进行插值计算。此外,还包含了用于绘制磁场线和地球的示例脚本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

International Geomagnetic Reference Field (IGRF) Model

The International Geomagnetic Reference Field (IGRF) is an internationally agreed upon mathematical model of the Earth's magnetic field. This program is a conversion of the FORTRAN subroutines that make the calculation into MATLAB. It does not use a compiled FORTRAN mex file, which probably makes it slower but at the advantage of being easier to use (as no compilation is necessary). In fact, my motivation in writing the program was to provide an IGRF implementation in MATLAB with minimal "fuss." Another motivation was a vectorized IGRF function, which this function is (with a separate routine adapted directly from the FORTRAN code that is faster for scalars implemented as well).

The following files are provided:

-igrf.m: Computes Earth's magnetic field at a point(s).

-igrfline.m: Gives the coordinates along a magnetic field line starting at a given point.

-ge

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值