修正ユリウス日

조회 수: 2 (최근 30일)
高倉
高倉 2023년 3월 19일
댓글: 高倉 2023년 3월 19일
2023年3月23日18時23分45秒(JST)の時、MATLABを使って,修正ユリウス日を計算しなさい。ソースコードと計算結果を示しなさい。この問題教えてください

답변 (1개)

Atsushi Ueno
Atsushi Ueno 2023년 3월 19일
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
高倉
高倉 2023년 3월 19일
ありがとうございます

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Calendar에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!