Hi all
I have m=0:2.5:12.5 time in seconds and p=0:0.2:1 probability of node being near to transmit
i have x=p/m where x is packet delivery
i want to plot x v/s p ie packet delivery increases when probability increases
when i do plot(x,p) no plot appears
kindly guide
thanking in advance
lincy

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2015년 6월 24일
편집: Azzi Abdelmalek 2015년 6월 24일

1 개 추천

m=0:2.5:12.5
p=0:0.2:1
x=p./m % it's a multiplication element by element, the operator is ./ instead of /
plot(x,p)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Aerospace Blockset에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by