Community Profile

Contact

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

0

Answered 2 years ago

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

Answered 3 years ago

A simple way is: myMat = 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...

1 Answers

1

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

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

1269 views

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

Posted 6 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 2 years 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 ...

3 Answers

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

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

0 Answers

1008 views

Posted 3 years ago

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries