NACA 4-digit File Generator
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
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.