File Exchange

image thumbnail

MATLAB Implementation of "Lunar Tables and Programs"

version 1.0.0 (7.07 KB) by David Eagle
MATLAB demo and function that computes the coordinates of the Moon using algorithms from in "Lunar Tables and Programs".


Updated 15 Feb 2020

View License

% demo_lunar_chapront.m February 15, 2020

% this script demonstrates how to interact with the lunar_chapront.m
% function which computes a lunar ephemeris from the following reference;

% Lunar Tables and Programs from 4000 B.C to A.D. 8000
% by Michelle Chapront-Touze and Jean Chapront (ELP 2000-85)

% "full" precision example from page 21 of the reference

Cite As

David Eagle (2021). MATLAB Implementation of "Lunar Tables and Programs" (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

David Eagle

The ser data file is on the companion CD-ROM for the book "Lunar Tables and Programs".

Stephen Forczyk

I went to the web site - what book must be purchased?

David Eagle

The ser file must be purchased from

Stephen Forczyk

David: I have tried to run your script but get the following error
"error: cannot find ser file" and then the program pauses. If it hit a key it then runs and produces a result. I can not find the ser file in your submission nor on your website referenced above

MATLAB Release Compatibility
Created with R2019b
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!