Giter Club home page Giter Club logo

experimentdesign_nbacktask's Introduction

ExperimentDesign_NBackTask

N Back working memory task, coded with the help of the Matlab Psychtoolbox. A number of difficulty levels included.

What does the taks do?

There are two main functions:

n_back_task_full()
n_back_task_training()

In both functions the subject sees a series of colored rectangles and has to decide (by a press of the space button) whether the current rectangle matches the one that was shown N steps before. Number of difficulty levels, and number of color sequences within difficulty level can be specified and a break can be taken after each series.

Several difficulty levels are included (from 2 to 5 steps back) and 8 color series are included per difficulty level. Each color series includes a sequence of 36 + n rectangles. The color series are generated such that within each series there a 12 matches and 12 lures (lures are rectangles which have matching colors to a rectangle before, but with a wrong offset in steps).

The task has been utilized as a collateral to a decision making experiment and shows a robust deterioration of performance across difficulty levels (dprime analysis within subject).

To do List

  • make background white
  • add some explanation to task
  • automate generation of sequences (specification of difficulty level, number of items and number of sequences within difficulty level)
  • allow for read-in of arbitrary pictures instead of colored rectangles generated by psychtoolbox

experimentdesign_nbacktask's People

Contributors

alexanderfengler avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.