Code covered by the BSD License  

Highlights from
NACA 4 digit Airfoil Generator

image thumbnail
from NACA 4 digit Airfoil Generator by Divahar Jayaraman
Generates the NACA 4 digit airfoil coordinates

tst_naca4gen.m
iaf.designation='4415';
% designation='0008';
iaf.n=30;
iaf.HalfCosineSpacing=1;
iaf.wantFile=1;
iaf.datFilePath='./'; % Current folder
iaf.is_finiteTE=0;

af = naca4gen(iaf);

% plot(af.x,af.z,'bo-')

plot(af.xU,af.zU,'bo-')
hold on
plot(af.xL,af.zL,'ro-')

axis equal

Contact us at files@mathworks.com