plotting exp given function with db units

Hi , I rarely use matlab and Im trying to plot this function
y = 0.3exp(-0.08SINR[dB])
I'm trying to get the plot of that function and I coudn't succeed in matlab .. any help?
this function plot should look like this as the book :
THE BLUE LINE is that function y I assigned above and Im trying to plot it in matlab with those given SINR values in the photo.
Appreciate for any help please!!

 採用された回答

Mathieu NOE
Mathieu NOE 2021 年 10 月 1 日

0 投票

here you are , my friend !
SINR_dB = (-5:20);
y = 0.3*exp(-0.08*SINR_dB);
plot(SINR_dB,y,'b','LineWidth',4);
ylim([0 0.8]);
xlabel('SINR[dB]');
ylabel('BLER');
seems the exponentail law will not be valid for SINR > 15 (that sudden drop).
also at SINR = -5 the BLER is supposed to be 0.5 whereas our plot show something around 0.45
are your coefficients somehow rounded or ?

3 件のコメント

Jimmy cho
Jimmy cho 2021 年 10 月 1 日
@Mathieu NOE Yes its rounded like to upper upper bound values ..
after SINR 15 what's shown for you? .. could u please post here the corrected plot with upper bound values?
appreciated.
Jimmy cho
Jimmy cho 2021 年 10 月 2 日
@Mathieu NOE any help bro?
Mathieu NOE
Mathieu NOE 2021 年 10 月 4 日
hello Jimmy
not sure to understand , what you mean by lower and upper bound values
this is the plot generated by my code (see above)

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

その他の回答 (0 件)

カテゴリ

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

質問済み:

2021 年 10 月 1 日

コメント済み:

2021 年 10 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by