Plot uniform wing surface using airfoil points

Produce a 3D surface plot of a uniform wing using the X and Y data of an airfoil.
199 Downloads
Updated 20 Jun 2021

View License

airfoil2wing(X2D, Y2D, WingSpan, MeshSize) returns a 3D surface plot of
the wing described by X2D and Y2D airfoil.
Inputs:
- X2D: column/row vector containing the X-xoordinates of the
airfoil
- Y2D: column/row vector containing the Y-xoordinates of the
airfoil
- WingSpan: a scalar describing the desired span of the wing.
- MeshSize: an integer number describing the number of mesh
elements along the length of the wing
- varargin (Optional): options for the surf function
Outputs:
- X3D, Y3D, Z3D: 2D matrices containing the x, y, and z coordinates
of the surface of the wing

Cite As

Ahmed Mahfouz (2026). Plot uniform wing surface using airfoil points (https://www.mathworks.com/matlabcentral/fileexchange/94485-plot-uniform-wing-surface-using-airfoil-points), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.1

Added an avatar for the publication

1.0.0