I am working on writing a script to simulate the random motion and decay of particles (random-walk). However, despite the fact that I call:
at the beginnning of the script (after I call the function w/ input arguments), I have been getting the exact same output vectors from different/separate runs. rand and exprnd are both called within the script.
Should I make this the first line of the script instead? Or has anyone else had issues with this?