Community Profile

I am a C++ Software Engineer on the IAT Foundation Libraries team. My interests include Parallel Computing, Computer Architecture, Operating Systems and C++.

Contact

Top 1% contributor

Hi Anders, The best way of achieving high performance in your example is to operate directly on the LocalParts of the codistr...

accepted

3

Answered 3 years ago

What type of cards do you have? Do you have your user desktop extended to both graphics cards? In general, this error occu...

1

Answered 4 years ago

There are two levels of parallelism present in MATLAB: # Implicit Multi-threaded parallelism for certain built-in MATLAB comman...

Hi Sbiera, Some of these questions depend on your intended software setup. I assume here that you are going to use PCT + MDCS a...

There is a 2GB transmission limit between client and workers. Could you provide me with additional values for Np, N1, Nt, etc so...

2

You can build the random vector directly on the workers: spmd c = codistributed.rand(1+2^27, 1); end As for the ...

Are the processors in the server hyper-threaded? Irrespective of what admin-center reports you can always start more workers ...

Hi, First of you need to change the line with *createTask*, and tell MATLAB that you expect a single output from the *try1* f...

Here's an example how to use distributed arrays and how to use SPMD: matlabpool open 2 x = 1:1:100; y = 100...

Answered 2 years ago

What type of image are you trying to save? Saving to jpg, png, tiff or eps/ps is usually safer than other file formats when n...

0

Why not send the output to the file and diagnostic to the command window? Alternatively there you can take a look at the follow...

Are you planning on writing data from multiple workers to a single file within PARFOR? If so, then there are no commands that w...

Hi Nick, Take a look at the getJobStateFcn.m for your scheduler. Try commenting the code inside of the if ... else block. ...

Hi Andre, The functionality to train neural networks on GPUs is not supported by MATLAB R2011b.

Starting with MATLAB R2010b MATLAB Compiler allows you to compile MATLAB code containing PARFOR and SPMD running on local schedu...

It appears that you have two questions. Q1. How many cores/processors can *fmincon* use at a time? If you set the *UseParallel...

Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

Solve this!

3 years ago

Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

Load more