Plot uniform wing surface using airfoil points
Version 1.0.1 (2.56 KB) by
Ahmed Mahfouz
Produce a 3D surface plot of a uniform wing using the X and Y data of an airfoil.
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 (2024). 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 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.