Problem 56323. Air Mass to Star for an Observer at Mean Sea Level
Air mass is a measure of how much atmosphere light from a source above the atmosphere (eg sun, planet, star) has to travel through to reach an observation point on the Earth surface. It’s measured as a ratio of the amount of atmosphere relative to the amount of atmosphere for an overhead (nadir) line-of-sight.
To calculate air mass, divide the value of 1 by the cosine of the zenith angle.
The elevation angle of a star is given with respect to the local astronomical horizon:
Write a function to calculate the Air Mass a star's light passes through from the line-of-sight elevation angle in degrees. Allow the function to compute air mass for an array of line-of-sight elevation angles.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers321
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15513 Solvers
-
Mersenne Primes vs. All Primes
595 Solvers
-
204 Solvers
-
514 Solvers
-
Calculate the mean of each half of a matrix
445 Solvers
More from this Author10
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!