I have written a process to generate random numbers using UNIFORM. I was trying to check the results using "rand" in matlab. How do i initialise the seed values of both these functions to the same value. I see that the random numbers generated by UNIFORM are different compared to rand when the seed values are left uninitialised. What do I need to change so that I get same output from both programs.

Thanks