lctGenerator

Generates n number of (random) letter cancellation tests (LCT), which are automatically printed.
949 Downloads
Updated 17 Jun 2008

No License

lctGenerator(numberOfVersions, printerName)

GENERAL AND INPUT
this function generates random Letter Cancellation Tests (LCT), according to Lezak et al. (2004). neuropsychological assessment. Oxford University Press,New York, USA. the number of different LCTs can be indicated by the singleton <<numberOfVersions>>, is optional input (default is 1). in addition the printer name can optional be given as a string, it is important that this is exactly the name of the printer, capital sensitive, if not specified than the computers default printer will be used for printing.

OUTPUT
of LCT version is printed twice, once for the subject, and once for the experimenter with all target letters indicated. this last version can for instance be printed/copied on a transparent which allows the experimenter to quickly check the number of mistakes made by the subject simply by overlaying the transparent experimenter version over the filled in subject version. all LCTs are printed on A4 paper landscape.

LETTER CANCELLATION TEST DETAILS
the LCTs consist out of six rows each holding 52 characters. per row about eighteen target letters are present. the target letters are 'K' and 'N'. all characters are printed with font type 'Courier New' with a font size of 10, all in capitals. the LCTs should be printed on plain white paper. we have experienced that it works best to instruct the subjects to mark the target letters as fast AND accurate as possible.

LCT VERSION INDICATOR
at the lower right corner of each printed LCT the version is indicated with dots. this allows the experimenter to easily distinguish among the different LCT versions.

EXAMPLE 1

lctGenerator(5)

generates five LCT versions and automatically prints these five versions (for each subject version and experimenter version) on the default printer.

EXAMPLE 2

lctGenerator(3, 'Océ MP1025 im E1.16')

generates three LCT versions and prints on the indicated printer.

2008.06.09

Cite As

Cornelis P. Bogerd (2026). lctGenerator (https://www.mathworks.com/matlabcentral/fileexchange/20171-lctgenerator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Random Number Generation in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0

The version coding run off the page, this is now corrected.