Feeds
回答済み
Inconsistency in reassigning a variable for color
Resolved by doing it a completely different way.
Inconsistency in reassigning a variable for color
Resolved by doing it a completely different way.
約12年 前 | 0
| 採用済み
質問
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...
約12年 前 | 0 件の回答 | 0
0
回答質問
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...
約12年 前 | 1 件の回答 | 0
1
回答質問
Invalid File Identifer - Help
My code: subject_number = input('Subject Number?'); %will prompt for subject number in the command window filename = ['In...
約12年 前 | 1 件の回答 | 0
1
回答質問
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...
約12年 前 | 3 件の回答 | 0
3
回答質問
Or any other key...
This is my code: [keyIsDown,secs,keyCode, deltaSecs] = KbCheck while keyIsDown == 0; %Will pres...
約12年 前 | 1 件の回答 | 0
1
回答質問
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 ...
約12年 前 | 1 件の回答 | 0
1
回答質問
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: ...
約12年 前 | 2 件の回答 | 0
2
回答質問
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...
約12年 前 | 1 件の回答 | 0
1
回答質問
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...
約12年 前 | 1 件の回答 | 0
1
回答質問
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 ...
約12年 前 | 1 件の回答 | 0
1
回答質問
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...
12年以上 前 | 3 件の回答 | 0
3
回答質問
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) ...
12年以上 前 | 2 件の回答 | 0
2
回答質問
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...
12年以上 前 | 1 件の回答 | 0
1
回答質問
Error with Screen Function
My code: "HideCursor; screenNum=2; [window, rect] = Screen('OpenWindow', screenNum, 1); [X,Y] = RectCenter(rect); FixCros...
12年以上 前 | 0 件の回答 | 0
0
回答質問
Oval in a Desire Location
Using PsychToolBox. My Code: "HideCursor; screenNum=0; [window, rect] = Screen('OpenWindow', screenNum, 1); [X,Y] = RectC...
12年以上 前 | 0 件の回答 | 0
0
回答質問
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...
12年以上 前 | 0 件の回答 | 0
0
回答質問
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...
12年以上 前 | 2 件の回答 | 0
2
回答質問
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...
12年以上 前 | 1 件の回答 | 0