photo

AC


Con actividad desde 2012

Followers: 0   Following: 0

Mensaje

Estadística

  • Knowledgeable Level 2
  • First Answer

Ver insignias

Feeds

Ver por

Respondida
Randomly choose between one of two options
Hi, I am not sure exactly what the structure of your data is. You may want to first transform your data into a 2 column mat...

alrededor de 12 años hace | 0

Respondida
Silly error somewhere in my code
This time a real answer: it's a math problem. If that's ok, I'll answer with some latex code. Let f be the norm(0,1) pdf ...

alrededor de 12 años hace | 0

| aceptada

Respondida
Counter goes up than down to 1 in recursive function
Ok, I think I got it: I believe you need to recursively output N_n when you are calling numWindows within the function. I don...

alrededor de 12 años hace | 0

| aceptada

Respondida
computing area between 2 curves
Hi, From scratch, you could try something like: 1/2*(abs(C1(2:end)-C2(2:end))+abs(C1(1:end-1)-C2(1:end-1)))*diff(I)' ...

alrededor de 12 años hace | 0

| aceptada

Respondida
Subscript indices must either be real positive integers or logicals ERROR ,can't solve
Hi, How did you define your dif function? The error you get means that at some point you are trying to access part of a v...

alrededor de 12 años hace | 0

Pregunta


Vectorize double loops with constraints on the indexes
Hi, I would like to speed up part of my code. While I kind of know how to vectorize loops in general, I'm stuck with a proble...

alrededor de 12 años hace | 3 respuestas | 0

3

respuestas