File Exchange

image thumbnail

NACA 4-digit File Generator

version 1.0.1 (3.71 KB) by Colton Campbell
Generates plot and .dat file in Selig format for NACA 4-digit airfoils.

1 Download

Updated 08 Apr 2021

View Version History

View License

This NACA 4-Digit airfoil generator provides a surface plot with camber line, along with the option to output the airfoil as a .dat file for use in X-Foil or other panel code. Output is in Selig format.

Usage ------------------------------------------
Format: n4dig(ID,writefile)
[1] ID = airfoil identifier character input, e.g. '2412'
[2] writefile = 0 or 1, 0=no output, 1=.dat file output

Future Updates ------------------------------------------
- NACA 5-dig/6-dig/etc options
- Xfoil integration?
- Custom airfoil generation

Cite As

Colton Campbell (2021). NACA 4-digit File Generator (https://www.mathworks.com/matlabcentral/fileexchange/90007-naca-4-digit-file-generator), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!