r.valice
- 2
- 0
Hi, all. I'm new with Matlab. Anyone knows how to write these formulas in Matlab?
I need to write the following formulas in Matlab. The definitions are as follows.
1. p_{f}: the wireless link layer frame error rate
2. \tau: the wireless link layer inter-frame interval
3. p_{i,j}: the probability that the first frame transmitted by the node is received correctly by the router, being the ith retransmitted frame at the jth transmission trial.
4. t_{f}: the one-way frame transportation delay between the node and router.
5. n = 3
6. p_{f} = 0 ~ 0.5
7. \tau = 20ms
Please, see the attached picture where the formulas appear.
I'm trying to write it many times. I spent with it for a couple of days, but I cannot.
What I want to have is the MATLAB code that displays t_{f} values as p_{f} is increased from 0 to 0.5.
Thanks in advance!
Homework Statement
I need to write the following formulas in Matlab. The definitions are as follows.
1. p_{f}: the wireless link layer frame error rate
2. \tau: the wireless link layer inter-frame interval
3. p_{i,j}: the probability that the first frame transmitted by the node is received correctly by the router, being the ith retransmitted frame at the jth transmission trial.
4. t_{f}: the one-way frame transportation delay between the node and router.
5. n = 3
6. p_{f} = 0 ~ 0.5
7. \tau = 20ms
Homework Equations
Please, see the attached picture where the formulas appear.
The Attempt at a Solution
I'm trying to write it many times. I spent with it for a couple of days, but I cannot.
What I want to have is the MATLAB code that displays t_{f} values as p_{f} is increased from 0 to 0.5.
Thanks in advance!