Hi, In octave (3.0.0) rand ('state', 1); randn will always produce the same number. I.e. the seed on rand affects randn as well. In Matlab seeding rand does not seed randn. -- Mark van Rossum