saveSeq.m 294 B

123456789101112131415161718
  1. function saveSeq()
  2. % to keey the ASD and control group equal, we save the randomwalk sequence
  3. % first
  4. for i= 1:60
  5. w1 = genDurSeq(250,1);
  6. save(['seq', num2str(i)], 'w1');
  7. end
  8. %%
  9. w = [];
  10. for i=1:27
  11. load(['seq' num2str(i)]);
  12. figure;
  13. plot(w1);
  14. w = [w, w1];
  15. end
  16. figure;
  17. hist(w);