- #1
hurryon
- 9
- 2
Homework Statement
Hi, guys. I've been reading a paper including some equations. Now, I'd like to write one equation as codes in Matlab. The equation is as following:
E{T} = (ln(v_max / v_min) / v_max - v_min) * E{L}
where E{T} is the expected value of transition time and E{L} is the expected value of transition distance. Also, v_max and v_min mean the maximum speed and the minimum speed, respectively. Note that the speed is a uniform speed distribution within [v_min, v_max].
Thanks in advance.
Hi, guys. I've been reading a paper including some equations. Now, I'd like to write one equation as codes in Matlab. The equation is as following:
E{T} = (ln(v_max / v_min) / v_max - v_min) * E{L}
where E{T} is the expected value of transition time and E{L} is the expected value of transition distance. Also, v_max and v_min mean the maximum speed and the minimum speed, respectively. Note that the speed is a uniform speed distribution within [v_min, v_max].
Thanks in advance.
Last edited: