Community Profile

photo

JohnDapper


Last seen: 12 months ago
6 total contributions since 2016

JohnDapper's Badges

  • First Review

View details...

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

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

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

5 years ago | 4 answers | 5

4

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

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

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

5 years ago | 1 answer | 0

1

answer