reorganize file structure

This commit is contained in:
2010-04-17 12:00:00 -05:00
parent 0da2092d89
commit 5bacd30bad
515 changed files with 2257 additions and 37 deletions

24
airfoil/airfoil.m Executable file
View File

@@ -0,0 +1,24 @@
%ASCorrea
function airfoil(airfoilfilename)
rootLOCATION='\\ad.uiuc.edu\ae\correa2\Desktop\AE441\AE441 - Home Edition\Matlab code\';
airfoilLOCATION='\\ad.uiuc.edu\ae\correa2\Desktop\AE441\AE441 - Home Edition\Airfoils';
% airfoilfilename=input('Input airfoil dat file: \nNote: You must delete the header before using \n:','s');
% airfoilfilename='flatplate.dat'
cd(airfoilLOCATION)
data=load(airfoilfilename);
plottitle=regexprep(airfoilfilename, '.dat', '');
dataX=data(:,1);
dataY=data(:,2);
plot(dataX, dataY, 'k', 'LineWidth', 2)
axis equal
axis off
title(['Airfoil ' , plottitle])
print ('-dtiff', plottitle)
cd(rootLOCATION)
end