Skip to content

Instantly share code, notes, and snippets.

@aewallin
Created October 4, 2024 08:08
Show Gist options
  • Save aewallin/d6768a3e26e110c64a13dc7b8ef6e350 to your computer and use it in GitHub Desktop.
Save aewallin/d6768a3e26e110c64a13dc7b8ef6e350 to your computer and use it in GitHub Desktop.
Matlab example of using BIPM API for retrieving UTC-UTC(k) data
clear all
close all
% BIPM API https://webtai.bipm.org/api/v1.0/index.html
data = webread("https://webtai.bipm.org/api/v1.0/get-data.html?scale=utc&lab=MIKE")
mjd = data.data.x;
phase_ns = data.data.y;
figure()
plot(mjd,phase_ns,'o')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment