NACA 4-digit File Generator

Generates plot and .dat file in Selig format for NACA 4-digit airfoils.
169 Downloads
Updated 8 Apr 2021

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 (2024). NACA 4-digit File Generator (https://www.mathworks.com/matlabcentral/fileexchange/90007-naca-4-digit-file-generator), MATLAB Central File Exchange. Retrieved .

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!
Version Published Release Notes
1.0.1

Added thumbnail

1.0.0