photo

Mikel Jimenez


Last seen: 4 months ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • First Answer

View badges

Feeds

View by

Question


Writecell from iteration - append data to previous row
Hi, I need to write data from a loop to a csv file. However, each row should combine data from trial i with data from trial i-1...

1 year ago | 0 answers | 0

0

answers

Question


Find logical and (&&) for string array
Hi, I normally use && operations with numeric arrays, like: if arrayX==1 && arrayY ==2 z=10 elseif arrayX==2 && arrayY==...

2 years ago | 2 answers | 0

2

answers

Question


Vector from loop - stop after x numbers of iterations
Hi, I have this loop here: n_trial = 12; n_probe =7; longer_array = [1:96]; updated_probeNum_withinBlock=0; for trial = 1:...

2 years ago | 0 answers | 0

0

answers

Question


Iteration over for loop using a vector
Hi, I want to run a for loop (the "for probe = 1:n_trial" in the example below) for a specific number of times (e.g., 7). Howe...

2 years ago | 1 answer | 0

1

answer

Question


Randomize vector avoiding consecutive values
I have this vector "leftSideProbes_random" and I would like to shuffle the values so that in the final vector the values do not ...

2 years ago | 3 answers | 0

3

answers

Answered
Psychtoolbox/ Draw four rectangles.
Hi, I think you need to provide allColors and allRects as column vectors: "Instead of filling one rectangle, you can also spe...

2 years ago | 0