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
