Experiment with a random presentation of images from a folder
Show older comments
Hi everyone, I'm new to matlab. I am trying to create a script for my experiment. The script should consist in the presentation on the screen of 40 images showing emotional faces (with 3 different emotions: neutral, happy, angry) from a folder called "images.experiment". These images must be presented randomly without repeating themselves in a loop which is repeated 3 times. After each image I should make an assessment of the intensity ("how emotional is the stimulus you see?") of the emotion in the image on a Likert scale from 1 to 9. Finally I have to save every answer (according to the condition/image) of each subject on an excel document. Can someone help me? I am using Psychtoolbox on Window. Thanks everyone in advance.
4 Comments
Walter Roberson
on 16 Oct 2022
What are the constraints on the presentation of the images? If an image is shown then how long until it can be shown again? Do you need to show all the images through as a set before any image is shown again, or for example could a particular image be shown 5th and 32nd as long as the total number of repeats is 3 by the end? Is it allowed that the first image shown could also be the first image of the second repeat?
Clarissa
on 16 Oct 2022
Walter Roberson
on 16 Oct 2022
randperm(40) three times to get the order of presentation. The rest about showing an image at a particular location for a particular time is really psychtoolbox functions not MATLAB. Functions to get input with timing is also psychtoolbox
Clarissa
on 16 Oct 2022
Accepted Answer
More Answers (0)
Categories
Find more on Image display and manipulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!