User:Eas4200c.f08.gator.edwards/Matlab Program

The following MATLAB function was created to plot the shape of a NACA 4-digit series airfoil. It also calculates the area and centroid of the cross section. Following the function is the implementation and output, copied out of the command window.

large

EDU>> airfoil(2415);

Cross Sectional Area A = 0.1013 Centroid Location C = (0.4203, 0.0157)