photo

AC


Aktiv seit 2012

Followers: 0   Following: 0

Nachricht

Statistik

  • Knowledgeable Level 2
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

Frage


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

mehr als 12 Jahre vor | 3 Antworten | 0

3

Antworten