image thumbnail

F10.7 Solar Flux & Ap Indices

version (4.65 KB) by John Smith
Computes F10.7 solar flux and associated Ap magnetic indices for built-in function 'atmosnrlmsise00'


Updated 4 Nov 2013

View License

Appreciable errors in MSIS00 modeled temperatures can occur for altitudes above 75 km if solar flux and magnetic indices deviate significantly from their default values. This routine automatically downloads needed solar flux and magnetic indices from and formats them for input to atmosnrlmsise00.


year = 2010;
doy = 216;
uts = 80000;

[x y z] = f107_aph(year,doy,uts);

alt = linspace(60000,105000,100);
lat = 40;
lon = -105;

[T rho] = atmosnrlmsise00(alt,lat,lon,year,doy,uts,x,y,z);

Cite As

John Smith (2022). F10.7 Solar Flux & Ap Indices (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!