Professional Interests: physics, Monte-Carlo algorithms, parallel computing, spin-waves

Answered

Matlab scatter produces hexagonal symbols instead of circles

This is indeed extremely annoying. A little help though, I attached an Adobe Illustrator script that can change all selected pol...

Matlab scatter produces hexagonal symbols instead of circles

This is indeed extremely annoying. A little help though, I attached an Adobe Illustrator script that can change all selected pol...

1 month ago | 0

Answered

Why does MATLAB fail to load my preferred language on macOS Sierra?

Is MATLAB R2016b compatible with MacOS 10.12 using language English and region Switzerland?

Why does MATLAB fail to load my preferred language on macOS Sierra?

Is MATLAB R2016b compatible with MacOS 10.12 using language English and region Switzerland?

3 months ago | 2

Submitted

Class handling .cif formatted files

The @cif class enables easy access to the crystallographic data stored in .cif files.

6 months ago | 4 downloads |

Responded

Re: fast multithreaded option to accumarray or python equivalent of bincount

Hi Suresh, I cannot give a much faster solution, but there are some obvious improvements to your code. For example the line ind...

1 year ago | 1138 views

Question

Control errorbar width in Matlab R2014b

Pre R2014b Matlab versions allowed the separate control of the length of the top and bottom error bar lines separately through t...

2 years ago | 2 Answers | 6

Solved

The Hitchhiker's Guide to MATLAB

Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

2 years ago

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

2 years ago

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

2 years ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

2 years ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

2 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

2 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

2 years ago

Question

Rendering the contour/outline of 3D objects in Matlab

Hello, I am plotting crystal structures in Matlab using balls and sticks as surfaces. I can produce nice 3D renderings with s...

3 years ago | 0 Answers | 0

Submitted

Multidimensional matrix multiplication

The simple function performs fast matrix multiplication within multidimensional arrays.

3 years ago | 14 downloads |

Question

How to use mpiprofile outside of pmode?

I am trying to profile a parallel function outside of pmode, using the following commands: pJob = createParallelJob(); ...

4 years ago | 0 Answers | 0

Answered

Full window 3D plots got clipped

Thanks for the quick answer! I tried: set(gca,'Position', [0 0 1 1]); but it does not help. I don't think parts of the plot ...

Full window 3D plots got clipped

Thanks for the quick answer! I tried: set(gca,'Position', [0 0 1 1]); but it does not help. I don't think parts of the plot ...

5 years ago | 0

Question

Full window 3D plots got clipped

Hello, I am plotting crystal structure in 3D without showing axes or labels. I want a figure where only the plotted 3D surfaces...

5 years ago | 2 Answers | 0