Problem: MATLAB does not generate consistent random values even after setting the random seed. Issue: You are calling a function that is not using your random seed. For example you set the random seed for rand function while calling randn function. Solution: make sure the same function is seeded that you are calling. For example randn(state,).
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.