not able to plot x
2 views (last 30 days)
Show older comments
Lincy Elizebeth Jim
on 24 Jun 2015
Edited: Azzi Abdelmalek
on 24 Jun 2015
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
0 Comments
Accepted Answer
Azzi Abdelmalek
on 24 Jun 2015
Edited: Azzi Abdelmalek
on 24 Jun 2015
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 Comments
More Answers (0)
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!