No BSD License  

Highlights from
Skyplot1001

image thumbnail
from Skyplot1001 by Markus Penzkofer
Virtual Planetarium showing stars, the planets, the sun and the moon.

jjh2000(jdat,par)
function jjh = jjh2000(jdat,par)

% function jjh = jjh2000(jdat,par)
%
% Julian Century in respect of J2000
% from Julian Date (par = 0) or
% from Modified Julian Date (par = 1)
% algorithms by Montenbruck/Pfleger: "Astronomy with the Personal Computer"
%
% 05.05.04 M.Penzkofer

if (par == 0)
	jjh = (jdat-2451545)/36525;
else
   jjh = (jdat-51544.5)/36525;
end

Contact us at files@mathworks.com