getting multiple curves instead one single curve

1 回表示 (過去 30 日間)
Vaswati Biswas
Vaswati Biswas 2021 年 10 月 23 日
コメント済み: Vaswati Biswas 2021 年 10 月 23 日
I am getting multiple curves instead of getting one curve by using the following code. here ep_1 and ep_2 data I am importing from outside which contains 69 data points.
ep_d=1.3641;
ep= ep_1 +1i*ep_2;
theta =-90:2:90;
lambda = 1240./1.5;
y = lambda./(sqrt((ep_d.*ep)./(ep_d+ep))- sin(theta*(pi/180)));
plot (theta ,real(y) )
I have attached my output but here I am supposed to get only one curve. Kindly help me in this problem. How can I get one curve only?

採用された回答

VBBV
VBBV 2021 年 10 月 23 日
ep_d=1.3641;ep_1 = 1; ep_2 = 2;
ep= ep_1 +1i*ep_2;
theta =-90:2:90;
lambda = 1240./1.5;
y = lambda./(sqrt((ep_d.*ep)./(ep_d+ep))- sin(theta*(pi/180)));
plot (theta ,real(y) )
  1 件のコメント
Vaswati Biswas
Vaswati Biswas 2021 年 10 月 23 日
Thank you so much

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFit Postprocessing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by