photo

Brett


Actif depuis 2012

Followers: 0   Following: 0

Message

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Réponse apportée
Inconsistency in reassigning a variable for color
Resolved by doing it a completely different way.

presque 12 ans il y a | 0

| A accepté

Question


matrix dimensions of an oval (pretty basic question)
Hi everyone, I know this is a basic question, but I'm not sure how to determine the matrix dimensions of an oval. This is the co...

presque 12 ans il y a | 1 réponse | 0

0

réponse

Question


Inconsistency in reassigning a variable for color
Hi Matlab community, so here is my code: randcol = randperm(4); q3col = randcol(1); q1col = randcol(2); q4col = randcol...

presque 12 ans il y a | 1 réponse | 0

1

réponse

Question


Invalid File Identifer - Help
My code: subject_number = input('Subject Number?'); %will prompt for subject number in the command window filename = ['In...

presque 12 ans il y a | 1 réponse | 0

1

réponse

Question


Disable all Keys Except...
Hi, I'm using psychtoolbox and I want to deactivate every key except for the ones related to my program. I know I can writing so...

presque 12 ans il y a | 3 réponses | 0

3

réponses

Question


Or any other key...
This is my code: [keyIsDown,secs,keyCode, deltaSecs] = KbCheck while keyIsDown == 0; %Will pres...

presque 12 ans il y a | 1 réponse | 0

1

réponse

Question


if this AND that then...
How do I say something like if value1 = 1 and value2 = 1 then... I'm trying to say that is something is a color and there is an ...

presque 12 ans il y a | 1 réponse | 0

1

réponse

Question


Key presses associated with colour
This is a tricky one to explain so bare with me. I have four colors that randomize so no color is the same as any other color: ...

presque 12 ans il y a | 2 réponses | 0

2

réponses

Question


Randomization... if not this then that
Here is my code: random = rand(1) if random <(1/4) tri1 = downtri b1 = vertbaseq1 elseif random>=(1/4) && ran...

presque 12 ans il y a | 1 réponse | 0

1

réponse

Question


Randomization one of four triangles - Error: index out of bounds
Here is my code: downtri = [50 0;0 50;-50 0]; uptri = [50 0;0 -50;-50 0]; righttri = [0 50;0 -50;50 0]; lefttri = [0 50...

presque 12 ans il y a | 1 réponse | 0

1

réponse

Question


Randomizing Shape and Location
Hi Matlab community, I love you guys. I'm using psychtoolbox and I am trying to randomize four direction of an triangle in four ...

environ 12 ans il y a | 1 réponse | 0

1

réponse

Question


How to draw an arrow or triangle
Hello Matlab community, I am trying to draw an arrow. I am using Psychtoolbox and there doesn't seem to be a specific command fo...

environ 12 ans il y a | 3 réponses | 0

3

réponses

Question


How to randomize the color of two objects so that are not the same color?
Here is my code: random = rand(1) if random <(1/4) colour1 = [200 200 0] elseif random>=(1/4) && random<(2/4) ...

environ 12 ans il y a | 2 réponses | 0

2

réponses

Question


Randomizing of an Oval Color
How do I randomize the color of a oval? My code: [window, rect] = Screen('OpenWindow', screenNum, 1); [X,Y] = RectCen...

environ 12 ans il y a | 1 réponse | 0

1

réponse

Question


Error with Screen Function
My code: "HideCursor; screenNum=2; [window, rect] = Screen('OpenWindow', screenNum, 1); [X,Y] = RectCenter(rect); FixCros...

environ 12 ans il y a | 1 réponse | 0

0

réponse

Question


Oval in a Desire Location
Using PsychToolBox. My Code: "HideCursor; screenNum=0; [window, rect] = Screen('OpenWindow', screenNum, 1); [X,Y] = RectC...

environ 12 ans il y a | 1 réponse | 0

0

réponse

Question


Make an image appear on screen
Hi, I'm really new to this and what I want is for an image from a .png file to appear on screen at a location of my choice. This...

environ 12 ans il y a | 1 réponse | 0

0

réponse

Question


Adding only present variables
Hi Matlab friends, you guys are the best! What I am trying to do is some up a bunch of variable values, however, if the variable...

environ 12 ans il y a | 2 réponses | 0

2

réponses

Question


Creating an matrix with values from a different m-file
Hi, I'm super new to this, so bare with me. So far I have assigned number values to push buttons that are related to a variables...

plus de 12 ans il y a | 1 réponse | 0

1

réponse