Changes
Page history
Update Manual Client Panel
authored
Jan 13, 2022
by
Aylin Carmen Klarer
Show whitespace changes
Inline
Side-by-side
Manual-Client-Panel.md
View page @
ebc6d86e
...
...
@@ -134,7 +134,6 @@ send2ClientPanel('trlNoRsp', ResultvectorResponse);
To display the percentages of correct trials, a logical vector must be entered listing whether a trial was correct (1 or true) or not (0 or false). You can, for example, do this as follows:
```
matlab
if
res
.
choice
{
trial
,
1
}
.
badKey
==
par
.
numPeck
% incorrect response
punishment
(
par
.
punDur
);
res
.
incorr
(
trial
,
1
)
=
1
;
% note trial as incorrect
...
...
...
...