Plot surface/3D plots using airfoil points and span at different wing stations.

Hi,
I want to plot a wing using airfoil points and span. Alot of sources are availible for this case but my problem is a bit different. I have airfoil points and various wing station along span. Contours will be bassed on another matrix. I have tried to use surf(X,Y,Z,C) but it did't work.
for example:
x = [0 0.2 0.4 0.5 0.6 0.8 1 0.8 0.6 0.5 0.4 0.2 ]
z = [0 0.04 0.08 0.06 0.04 0.02 0 -0.02 -0.04 -0.06 -.0.08 -0.04]
spanwiseStations = linspace(0,2,10)
contour = rand(12,10)
Regards

4 commentaires

Can you show any pictorial example?
Yeah sure.
attached please find an example. I have tried my best to explain.
I have tried using following nut it only plot one station and even that is not good enough because it dosen't include span and contour input :
surf([x x] , [z z] , [zeros(size(x)) ones(size(x))])
PS: Ignore my code because its quiet basic.
Regards
So you need 3D cubes ...
This almost what I want except the fact that it is in single piece but I want multiple wing stations like in the pic I poste earlier. Plus the span should be adjustable.
regards

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Airfoil tools dans Centre d'aide et File Exchange

Question posée :

le 25 Juin 2020

Commenté :

le 26 Juin 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by