-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot_graphs.m
More file actions
42 lines (35 loc) · 781 Bytes
/
Copy pathplot_graphs.m
File metadata and controls
42 lines (35 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
clear;
load launchdata.mat
%% FP - AOA
figure(1)
plot(T(1:264), fp_angle_ecef(1:264), 'LineWidth', 3)
hold on
xlabel("Time (s)")
ylabel("Flight Path Angle (deg)")
ylim([0 92])
yyaxis right
plot(T(1:264), aoa(1:264), 'LineWidth', 3)
ylabel("Angle of Attack (deg)")
ylim([0 10])
grid on
ax = gca;
ax.FontSize = 12;
set(gcf, 'Position', [600, 400, 800, 600])
legend("Flight Path Angle", "Angle of Attack")
%% CD - Time
figure(2)
plot(T(1:264), cd_hist(1:264), 'LineWidth', 3)
hold on
xlabel("Time (s)")
ylabel("C_D (-)")
% ylim([0 92])
%
% yyaxis right
% plot(T(1:264), aoa(1:264), 'LineWidth', 3)
% ylabel("Angle of Attack (deg)")
% ylim([0 10])
grid on
ax = gca;
ax.FontSize = 12;
set(gcf, 'Position', [600, 400, 800, 600])
% legend("Flight Path Angle", "Angle of Attack")