script or function for moon phase and position with time, lat and lon as inputs

조회 수: 35 (최근 30일)
Hi, I am looking for a script or function for moon phase and position with time, lat and lon as inputs. I had a a quick look on FEx and couldn't see anything that easily fits. Anyone aware of any matlab code or other that I can easily call for this information?

채택된 답변

Meysam Mahooti
Meysam Mahooti 2017년 8월 26일
편집: Meysam Mahooti 2018년 12월 30일

추가 답변 (2개)

Matthias Walle
Matthias Walle 2016년 10월 6일
Hi,
Have you seen the Moon Phases File by Meysam Mahooti? https://de.mathworks.com/matlabcentral/fileexchange/55270-moon-phases
It already calculates the Moon Phases for any given Year. I am not sure why you need the lon and lat inputs since the lunar phases (new moon, full moon, etc) only depend on the position of the earth moon and sun. They don't depend where you are on earth. It just affects the angle from which you see the moon. Of course that might make a difference but I am sure you could add this to the calculation.
I hope this helped,
Matthias

Liviu Ivanescu
Liviu Ivanescu 2019년 8월 5일
I also need Moon azimuth and elevation position with time, lat and lon as inputs! We don't need that for phase calculation, but just to know where the Moon is. I tried the link:
but that gives the 3D carthesian position of the Moon. It dosn't give Moon azimuth and elevation for a given location on Earth.
  댓글 수: 1
Liviu Ivanescu
Liviu Ivanescu 2019년 8월 5일
May be this:
https://www.mathworks.com/matlabcentral/fileexchange/22992-lunar-azimuth-and-altitude-estimation-algorithm

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Gravitation, Cosmology & Astrophysics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by