Updated 15 Feb 2020
% 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
David Eagle (2020). MATLAB Implementation of "Lunar Tables and Programs" (https://www.mathworks.com/matlabcentral/fileexchange/74270-matlab-implementation-of-lunar-tables-and-programs), MATLAB Central File Exchange. Retrieved .
The ser data file is on the companion CD-ROM for the book "Lunar Tables and Programs".
I went to the web site - what book must be purchased?
The ser file must be purchased from willbell.com
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