Top 10% contributor
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 = ...
Answered 1 year ago
b(i,j) = a(i,j);
The fault is that you haven't defined the end t...
Answered 2 years ago
A simple way is:
0 0 2 0 0
0 3 4 5 0
1 2 3 4 5
I see a huge difference between apparently similar approaches and would like to understand what's happening and why the discrepa...
Asked 2 years ago
Since running parfor inside a function called under an outer parfor is no good (it only runs it serially), the solution I have a...
Answered 3 years ago
So, essentially I can find the required interval in the Z matrix ( Z>3 & Z<=6) and their corresponding (x,y) to get all the poi...
5 years ago
How can I do a mapping based on contouring ? By this I mean, to extract all the points (X,Y) belonging to a particular contour l...
5 years ago
Does matlab PCT have capabilities to run parallel for loops on GPUs?
(like the GFOR equivalent in Jacket ?
Or even Matlab's ...
Asked 1 year ago
Am wondering what will be best approach for parallelizing the code for the problem am working on.
I have a time series data ...
How to access parts of distributed data on the workers/labs ?
I have a large timeseries data and want to run some functions o...
I am new to Matlab Parallel computing.
Am working on an optimization problem using fminsearch. The objective function is a ...
Asked 3 years ago
How to vectorize a for loop but with conditionals in it ?
[sizMat1 sizMat2] = size(matrixToMultiply);
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 ...
I have a working parallel version of a code that does some likelihood calculations on a reasonably large matrix in parallel (usi...
2 years ago
Join the conversation