real random numbers generation

Started by Appalayagari Sreedhar January 21, 2003

I need to generate real random numbers between two numbers,

like i need values between 0.5 and 0.

i tried with rand command it is working well,

but i need to write an algorithm in matlab not using the built-in function.

if anyone knows it please give me the idea.