From 21333dcb86a69b3781c31d13396d08d98aa0466f Mon Sep 17 00:00:00 2001 From: WillForan Date: Tue, 24 Sep 2024 14:15:03 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20ntrial=20not=20ntrials?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- private/gen_choices.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private/gen_choices.m b/private/gen_choices.m index 892c352..c4c4f12 100644 --- a/private/gen_choices.m +++ b/private/gen_choices.m @@ -1,4 +1,4 @@ -function block_choices = gen_choices(ntrials) +function block_choices = gen_choices(ntrial) % ntrial=36; choices = [ 1 2; 2 3; 1 3]; block_choices = Shuffle(repmat(choices,ntrial/length(choices),1),2);