Community Profile

photo

Mikel Jimenez


Last seen: 6 Monate vor Aktiv seit 2022

Followers: 0   Following: 0

Statistiken

  • Thankful Level 2
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

etwa ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 3 Antworten | 0

3

Antworten

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

fast 2 Jahre vor | 0