I am having trouble plotting this,

function [ Cl, Cd, E, Emax ] = Lift_Drag( alpha, Cd0, A, e )
%UNTITLED Summary of this function goes here
% Detailed explanation goes here
%% k is a factor used to represent lift induced drag.
k = 1/(pi*A*e);
%% Calculation for coeffficient of lift.
Cl = 0.25 + (0.1*alpha);
%% Emax represents the max value for the lift to drag ratio.
Emax = 0.5*(sqrt((pi*A*e)/(Cd0)));
%% Calculation for the coefficient of drag.
Cd = Cd0 + k *(Cl^2);
%% E denoting the lift to drag ratio.
E = Cl/Cd;
%% Description

1 件のコメント

Dyuman Joshi
Dyuman Joshi 2021 年 11 月 27 日
What exactly is the trouble you are having with plotting?

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeContour Plots についてさらに検索

製品

リリース

R2021b

タグ

質問済み:

2021 年 11 月 26 日

コメント済み:

2021 年 11 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by