Hi. I have probability p in the code, so everytime I run it, different ans and elapsed time are obtained. I want to run the code for 100 times and get the avg ans and elapsed time. Do you know how to get these?
MATLAB: Get average elapsed time
loops avg elapsed time after 100 times' runing
Best Answer