Help me with understanding function in the code

Status
Not open for further replies.

scdoro

Member level 5
Joined
Jan 12, 2005
Messages
87
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,040
N equal samples

Hi all,

Can anyone help me comment on the below code and explain how the function works.I am not sure how this function works and why is there a mid value in the calculation?

Thanks a lot!

regards
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…