lundi 26 janvier 2015

When I try to run the following code I am unable to return to command prompt in matlab

I am new to matlab.I wrote the following code.The problem is that the loop is not terminating.Please help me find out the problem



actualvalue = randn(2000,10);
reward = zeros(2000,10,1000);
for i=1:2000
for j=1:10
for k=1:1000
mean = actualvalue(i,j);
reward(i,j,k) = normrnd(mean,1);
end;
end;
end;




Aucun commentaire:

Enregistrer un commentaire