plotting exp given function with db units

조회 수: 2(최근 30일)
Jimmy cho
Jimmy cho 2021년 10월 1일
댓글: Mathieu NOE 2021년 10월 4일
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일
here you are , my friend !
SINR_dB = (-5:20);
y = 0.3*exp(-0.08*SINR_dB);
ylim([0 0.8]);
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
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개)

Community Treasure Hunt

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

Start Hunting!

Translated by