photo

JohnDapper


Last seen: 5 years ago Active since 2016

Followers: 0   Following: 0

Statistics

  • First Review

View badges

Feeds

View by

Question


Finding triangles in a k-NN graph
Hello, I have a simple undirected graph represented by an adjacency matrix where (i,j)=1 if nodes i and j are connected, else...

8 years ago | 1 answer | 0

1

answer

Question


C Mex crashes if array is too large
Hi all, I am passing an array to a mex file as follows: float *var; var = (float*)mxGetPr(prhs[0]); The mex file c...

8 years ago | 1 answer | 0

1

answer

Question


Parfor loop just hangs, CPU usage goes to zero
Hi all. Here is a sample code of what I am attempting to run. parfor i = 1:num answer(:,i) = someFunction(someData(:,i))...

8 years ago | 8 answers | 5

8

answers

Question


Matlab on linux, "system" command not working
Hi all. I am running MATLAB 2012b on linux. I have a bunch of executables/shell scripts in a folder which is added to the MATLAB...

9 years ago | 0 answers | 0

0

answers

Question


Parfor/spmd with random numbers
In my code I want to run a function on each worker in parallel. The function is mexified C++ and (simply put) returns an image c...

9 years ago | 0 answers | 0

0

answers

Question


Fastest way to process image patches?
Hi all, My matlab script is almost entirely a big loop that searches through small patches of an image and computes sum-of-sq...

9 years ago | 1 answer | 0

1

answer