Feeds
질문
parfor slicing variables suggestions
I'm wondering what was the best way to split a big matrix (500000 x 1000) into 20 matrices of size 25000 x 1000. The aim is to u...
거의 7년 전 | 답변 수: 0 | 0
0
답변질문
Declare gpuArray while executing on gpu
I'm trying to modify my code working well for a CPU setup to a GPU setup. It appears to be more complicated than what I had exp...
거의 7년 전 | 답변 수: 1 | 0
1
답변답변 있음
arrayfun with multiple inputs and a different size output
When using both your answers, I'm not sure this is doing what I want. First, without A to start easy. Say I'm starting from: ...
arrayfun with multiple inputs and a different size output
When using both your answers, I'm not sure this is doing what I want. First, without A to start easy. Say I'm starting from: ...
대략 7년 전 | 0
질문
arrayfun with multiple inputs and a different size output
I'm trying to set arrayfun to compute Monte-Carlo simulations on a GPU. But first, I'd like to parameterize on a CPU (I don't ha...
대략 7년 전 | 답변 수: 3 | 0
3
답변질문
GPU computing Monte Carlo
I'm pricing barrier options with Monte Carlo simulations. I started my code with CPU setting and now I'm moving to GPU. I want ...
대략 7년 전 | 답변 수: 1 | 0
1
답변질문
Parallel computing Monte Carlo
I'm running 1M simulations on a Monte Carlo basis. I'd like to improve the computation speed and I was thinking about parallel c...
대략 7년 전 | 답변 수: 1 | 0
1
답변질문
Fast reshaping or squeezing
I'm dealing with big matrix, such as dimension X,Y and Z are respectively around 300, 6 and 200000. The point is that I'm doi...
대략 7년 전 | 답변 수: 1 | 0
1
답변질문
Store recursive intermediate values
I'm trying to save intermediate values when calling recursive function without using global variables. I don't find anything su...
대략 7년 전 | 답변 수: 1 | 0
1
답변질문
Extend / replicate a value by column when found in array
Say I have a matrix 5x5 with binary entries 0 and 1 A=[1 1 1 1 1;1 0 1 1 1;1 0 1 0 0;0 1 1 0 1;1 1 1 0 0] I'd like to have...
대략 7년 전 | 답변 수: 1 | 0
1
답변질문
Logical operation on column of a matrix
I'm dealing with a larger problem but say I have a 5x6 matrix: A=[0 0 0 0 1 0;0 0 0 1 0 0;1 0 0 0 0 1;0 0 1 1 1 1 ;0 1 0 1 1 0]...
대략 7년 전 | 답변 수: 2 | 0
