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:
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: