summaryrefslogtreecommitdiffstats
path: root/uav_performance_hinf.m
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--uav_performance_hinf.m (renamed from uav_performance.m)4
1 files changed, 2 insertions, 2 deletions
diff --git a/uav_performance.m b/uav_performance_hinf.m
index 4857a34..6ece761 100644
--- a/uav_performance.m
+++ b/uav_performance_hinf.m
@@ -13,7 +13,7 @@
% PERF Struct performance transfer functions
-function [perf] = uav_performance(params, plot)
+function [perf] = uav_performance(params, do_plots)
% Laplace variable
s = tf('s');
@@ -64,7 +64,7 @@ perf = struct(...
'Velocity', W_PPdot, ...
'Angles', W_PTheta);
-if plot
+if do_plots
% Bode plots of performance requirements
figure; hold on;