How to you plot these graphs

I need to write graph codes for each of the graphs on the images. They are from a pdf tittled Relaying Protocols for Wireless Energy Harvesting and Information Processing. if someone can help me with writting the matlab code and graph codes i will appreciate

回答 (1 件)

Sam Chak
Sam Chak 2022 年 4 月 4 日
編集済み: Sam Chak 2022 年 4 月 4 日

0 投票

Appreciation is insufficient. You have to do your due diligence, by clearly knowing what you want to do through reading the article, and then identifying what mathematical equations are needed to plot the graphs in the images.
Having that, you can request for help on how to plot those graphs using MATLAB. You don't instruct and expect people to Google search the PDF for you, download for you, and then do the reading for you, mainly because some of us cannot access the academic journal database, or they don't have the free time to read the full paper.
The least expectation from you is to show the relevant math equations in the image form.
Here is the basic example to show you how to plot:
x = -2*pi:0.01:2*pi;
y1 = sin(x);
y2 = cos(x);
figure(1)
plot(x, y1, x, y2)
axis([min(x) max(x) min(y1) max(y1)])
xlabel('x')

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

タグ

質問済み:

2022 年 4 月 4 日

編集済み:

2022 年 4 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by