photo

Brett


Attivo dal 2012

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Risposto
Inconsistency in reassigning a variable for color
Resolved by doing it a completely different way.

quasi 12 anni fa | 0

| accettato

Domanda


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

quasi 12 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 12 anni fa | 3 risposte | 0

3

risposte

Domanda


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

quasi 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 12 anni fa | 3 risposte | 0

3

risposte

Domanda


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) ...

circa 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 12 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 12 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 12 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta