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 Solvers323
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15531 Solvers
-
14026 Solvers
-
4958 Solvers
-
7998 Solvers
-
152 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!