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 Exchange에서 2-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