修正ユリウス日

2 vues (au cours des 30 derniers jours)
高倉
高倉 le 19 Mar 2023
Commenté : 高倉 le 19 Mar 2023
2023年3月23日18時23分45秒(JST)の時、MATLABを使って,修正ユリウス日を計算しなさい。ソースコードと計算結果を示しなさい。この問題教えてください

Réponses (1)

Atsushi Ueno
Atsushi Ueno le 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 commentaire
高倉
高倉 le 19 Mar 2023
ありがとうございます

Connectez-vous pour commenter.

Catégories

En savoir plus sur Calendar dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!