フィルターのクリア

Unable to find the maximum value in the following expression

2 ビュー (過去 30 日間)
sakshi ahuja
sakshi ahuja 2019 年 1 月 4 日
編集済み: madhan ravi 2019 年 1 月 4 日
In the following code I am not able to get "pOUT"
w=15;% w is the beamwidth in degrees. It is used in eqns 9,10,11 for
the antenna pattern and gain distributions.
g_main=100;
g_side=0.01;% these are the values of maximum gain and minimum gain
for the ideal sector antenna. Used in eqns 9,10,11 as mentioned above
OmegaOUT=1/30;deltaOUT=5.2;% these are the parameters of equation 6
OmegaLOS=0;deltaLOS=1/67.1;% these are the parameters of equation 7
syms z;assume(z > 0);% this is for defining the variable z for distance between transmitter and receiver
pOUT=@(z)(1-OmegaOUT.*exp(-deltaOUT.*z));
  1 件のコメント
KSSV
KSSV 2019 年 1 月 4 日
Are you sure the expression is correction?
pOUT=@(z)(1-OmegaOUT.*exp(-deltaOUT.*z));
YOIu can delete syms you need not to use it there.

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

採用された回答

madhan ravi
madhan ravi 2019 年 1 月 4 日
編集済み: madhan ravi 2019 年 1 月 4 日
solve(pOUT) % remove @(z) maybe you want to solve for z

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by