photo

AC


Attivo dal 2012

Followers: 0   Following: 0

Messaggio

Statistica

  • Knowledgeable Level 2
  • First Answer

Visualizza badge

Feeds

Visto da

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

circa 12 anni fa | 0

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 0

| accettato

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

circa 12 anni fa | 0

Domanda


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

circa 12 anni fa | 3 risposte | 0

3

risposte