Make 'igrfcoefs.mat' file from downloaded igrf modells (in .txt format) for using it in igrf() matlab function:
Modell can be downloaded from here (.txt format):
https://www.ngdc.noaa.gov/IAGA/vmod/igrf_old_models.html
igrf matlab functions (Drew Compston's IGRF modell):
https://www.mathworks.com/matlabcentral/fileexchange/34388-international-geomagnetic-reference-field-igrf-model
Input: file location eg. 'igrf13coeffs.txt'
Output: creates 'igrfcoefs.mat' file in current folder
'igrfcoefs.mat' file should be placed in the folder where igrf will be used
引用格式
Mate Tomasik (2025). makeIGRF - create 'igrfcoefs.mat' for IGRF (https://www.mathworks.com/matlabcentral/fileexchange/126854-makeigrf-create-igrfcoefs-mat-for-igrf), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2023a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |