Skip to content
Snippets Groups Projects
Commit 25d80291 authored by James Goppert's avatar James Goppert
Browse files

Changed to log10 for trimAnalysis.

parent 4cbb76ee
No related branches found
No related tags found
No related merge requests found
scf(1); clf(1); scf(1); clf(1);
nPlots = 2;
subplot(1,nPlots,1);
data = read('f16.log',-1,1); data = read('f16.log',-1,1);
plot(log(1:size(data,1),log(data)); plot(log10(1:size(data,1)),log10(data));
xlabel('iteration'); xlabel('log10(iteration)');
ylabel('log(cost)'); ylabel('log10(cost)');
title('f16 - level, 500 kts'); title('f16 - level, 500 ft/s');
legend('newton raphson') legend('newton raphson')
xs2eps(1,'f16-level-500fts')
subplot(1,nPlots,2); scf(2); clf(2);
data = read('c172p.log',-1,1); data = read('c172p.log',-1,1);
plot(log(1:size(data,1)),log(data)); plot(log10(1:size(data,1)),log10(data));
xlabel('iteration'); xlabel('log10(iteration)');
ylabel('log(cost)'); ylabel('log10(cost)');
title('c172p - level, 20 kts'); title('c172p - level, 20 ft/s');
legend('newton raphson') legend('newton raphson')
xs2eps(2,'c172p-level-20fts')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment