修正ユリウス日

9 views (last 30 days)
高倉
高倉 on 19 Mar 2023
Commented: 高倉 on 19 Mar 2023
2023年3月23日18時23分45秒(JST)の時、MATLABを使って,修正ユリウス日を計算しなさい。ソースコードと計算結果を示しなさい。この問題教えてください

Answers (1)

Atsushi Ueno
Atsushi Ueno on 19 Mar 2023
juliandateでいけると思います
t = datetime("2023-3-23 18:23:45", TimeZone="Asia/Tokyo");
jd = juliandate(t, "modifiedjuliandate")
jd = 6.0026e+04
datetime(jd, ConvertFrom="modifiedjuliandate", TimeZone="Asia/Tokyo") % 元に戻してみる
ans = datetime
23-Mar-2023 18:23:45
  1 Comment
高倉
高倉 on 19 Mar 2023
ありがとうございます

Sign in to comment.

Categories

Find more on 日付と時刻 in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!