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 Solvers351
Suggested Problems
-
Magic is simple (for beginners)
10501 Solvers
-
1174 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
838 Solvers
-
589 Solvers
-
Calculate the average value of the elements in the array
1522 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!