To make a surface plot of a wing given the root and tip coordinates in MATLAB, you need to do the following:
Here is sample code that shows how to make a surface plot of a wing using the functions interp2 and surf:
main.m368 chars15 lines
Alternatively, you can use the TriScatteredInterp function to interpolate the z values from a set of scattered data points on the wing surface:
main.m645 chars24 lines
gistlibby LogSnag