Feeds
已回答
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...
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...
12 years 前 | 0
已回答
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 ...
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 ...
12 years 前 | 0
| 已接受
已回答
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...
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...
12 years 前 | 0
| 已接受
已回答
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)' ...
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)' ...
12 years 前 | 0
| 已接受
已回答
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...
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...
12 years 前 | 0
提问
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...
12 years 前 | 3 个回答 | 0