Path: AerospaceUtils/ComponentModels
% Generates a Wing. The tail points in the z direction. You enter the leading and trailing edge locations as a function of z. Type Wing for a demo. -------------------------------------------------------------------------- Form: [v, f] = Wing( xLE, xTE, z, lERatio, taper ) -------------------------------------------------------------------------- ------ Inputs ------ xLE (1,:) Leading edge position xTE (1,:) Trailing edge position z (1,:) Spanwise position lERatio (1,1) Leading edge x to y ratio taper (1,1) Ratio of root to tip tOC (1,1) Thickness to chord ratio ------- Outputs ------- v (:,3) Vertices f (:,3) Faces --------------------------------------------------------------------------
Common: ComponentModels/Extrude Math: Trigonometry/CosD
Back to the AerospaceUtils Module page