Community Profile

# nah

### cib

Active since 2012

#### Content Feed

View by

Question

How to vectorize a for loop but with conditionals inside it ?
How to vectorize a for loop but with conditionals in it ? [sizMat1 sizMat2] = size(matrixToMultiply); cumulMat...

meer dan 8 jaar ago | 1 answer | 0

### 1

Question

Are parallel for loops available on GPUs ?
Does matlab PCT have capabilities to run parallel for loops on GPUs? (like the GFOR equivalent in Jacket ? Or even Matlab's ...

meer dan 8 jaar ago | 1 answer | 0

### 1

Question

gpuArray colunwise opertations on matrix ?
I have a custom function that takes in a m by 2 matrix (2 columns) and operates on it. It's quite a bit complicated function as ...

meer dan 8 jaar ago | 1 answer | 0

### 1

Question

Converting parfor operations to gpuArray
I have a working parallel version of a code that does some likelihood calculations on a reasonably large matrix in parallel (usi...

meer dan 8 jaar ago | 0 answers | 0

### 0

Separating vectors into individual subsets for plotting
a=[10 20 30 NaN 30 20 10 NaN 10 20 30 0 10 20 30 NaN 30 20 10 NaN 10 10 ] aaNaNidx = find(isnan(a)); for ix = ...

meer dan 8 jaar ago | 0

making a matrix from another one
for i=1:3 for j=1:3 b(i,j) = a(i,j); end end The fault is that you haven't defined the end t...

meer dan 9 jaar ago | 0

Question

Best approach to this problem - spmd or parfor ?
Am wondering what will be best approach for parallelizing the code for the problem am working on. I have a time series data ...

meer dan 9 jaar ago | 1 answer | 0

### 1

Question

Distributing arrays to workers for local processing ?
How to access parts of distributed data on the workers/labs ? I have a large timeseries data and want to run some functions o...

meer dan 9 jaar ago | 1 answer | 0

### 1

Counting values above a threshold within a matrix.
A simple way is: myMat = 0 0 2 0 0 0 3 4 5 0 1 2 3 4 5 ...

meer dan 9 jaar ago | 0

Question

Difference between simple matlabpool parfor and batch parfor.
I see a huge difference between apparently similar approaches and would like to understand what's happening and why the discrepa...

meer dan 9 jaar ago | 1 answer | 1

### 1

How to combine parfor & Parallel Optimization ?
Since running parfor inside a function called under an outer parfor is no good (it only runs it serially), the solution I have a...

meer dan 9 jaar ago | 0

Question

How to combine parfor & Parallel Optimization ?
I am new to Matlab Parallel computing. Am working on an optimization problem using fminsearch. The objective function is a ...

meer dan 9 jaar ago | 3 answers | 0