0001 function y = nginit(Tinit) 0002 n = length(Tinit); 0003 %% writing the generator 0004 r = randn(n,1); 0005 y = Tinit * r;