フィルターのクリア

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

1 回表示 (過去 30 日間)
Brendan
Brendan 2023 年 10 月 16 日
回答済み: Voss 2023 年 10 月 16 日
im trying to graph time on the x axis and rise rate on the y
meaning (current alt-start alt)/(current time-start time)

回答 (1 件)

Voss
Voss 2023 年 10 月 16 日
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)

カテゴリ

Help Center および File ExchangeDirected Graphs についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by