Community Profile

photo

nah


cib

Active since 2012

Statistics

  • Thankful Level 1
  • First Answer

View badges

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

10 years ago | 1 answer | 0

1

answer

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

10 years ago | 1 answer | 0

1

answer

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

10 years ago | 1 answer | 0

1

answer

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

10 years ago | 0 answers | 0

0

answers

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

10 years ago | 0

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

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

11 years ago | 1 answer | 0

1

answer

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

11 years ago | 1 answer | 0

1

answer

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

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

11 years ago | 1 answer | 1

1

answer

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

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

12 years ago | 3 answers | 0

3

answers