I'm trying to graph data from an html file and I'm unsure how to load and graph it.

2 views (last 30 days)
im trying to graph time on the x axis and rise rate on the y
meaning (current alt-start alt)/(current time-start time)

Answers (1)

Voss
Voss on 16 Oct 2023
url = "https://coyote.eece.maine.edu/ece101/hw/umhab-137-iridium.html";
T = readtable(url);
head(T)
IMEI Time-UTC Date Latitude Longitude Alt-m Alt-ft V_Vel-m/s V_Vel-ft/s __________ ________ ___________ ________ _________ _______ _______ _________ __________ 3.0053e+14 17:36:23 14-Oct-2023 40.734 -116.81 "2,037" "6,683" 0 0 3.0053e+14 17:36:23 14-Oct-2023 40.734 -116.81 "2,037" "6,683" 0 0 3.0053e+14 17:36:13 14-Oct-2023 40.734 -116.81 "2,037" "6,683" 0 0 3.0053e+14 17:36:13 14-Oct-2023 40.734 -116.81 "2,037" "6,683" 0 0 3.0053e+14 17:36:05 14-Oct-2023 40.734 -116.81 "2,038" "6,685" 0 0 3.0053e+14 17:36:05 14-Oct-2023 40.734 -116.81 "2,038" "6,685" 0 0 3.0053e+14 17:35:57 14-Oct-2023 40.734 -116.81 "2,038" "6,685" 0 0 3.0053e+14 17:35:57 14-Oct-2023 40.734 -116.81 "2,038" "6,685" 0 0
tail(T)
IMEI Time-UTC Date Latitude Longitude Alt-m Alt-ft V_Vel-m/s V_Vel-ft/s __________ ________ ___________ ________ _________ _______ _______ _________ __________ 3.0053e+14 05:34:58 14-Oct-2023 40.969 -117.74 "1,307" "4,289" 0 1 3.0053e+14 05:34:58 14-Oct-2023 40.969 -117.74 "1,307" "4,289" 0 1 3.0053e+14 05:34:27 14-Oct-2023 40.969 -117.74 "1,301" "4,267" 0 -2 3.0053e+14 05:34:27 14-Oct-2023 40.969 -117.74 "1,301" "4,267" 0 -2 3.0053e+14 05:32:11 14-Oct-2023 40.969 -117.74 "1,308" "4,290" 0 0 3.0053e+14 05:32:11 14-Oct-2023 40.969 -117.74 "1,308" "4,290" 0 0 3.0053e+14 05:31:46 14-Oct-2023 40.969 -117.74 "1,312" "4,304" 0 0 3.0053e+14 05:31:46 14-Oct-2023 40.969 -117.74 "1,312" "4,304" 0 0
alt = str2double(T.("Alt-m"));
time = T.("Time-UTC");
rise_rate = (alt-alt(end))./seconds(time-time(end)); % m/s
plot(time,rise_rate)

Categories

Find more on Data Exploration in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!