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

Answered

Why do my MATLAB files appear corrupt on macOS High Sierra?

Same problem as last year with macOS 10.12. :/

Why do my MATLAB files appear corrupt on macOS High Sierra?

Same problem as last year with macOS 10.12. :/

2 years ago | 0

Answered

Command Window gone crazy ( scrolls on it's own )

I have the same problem (MATLAB R2017a, OSX 10.12.6). Had this issue time to time and the only fix is to restart MATLAB.

Command Window gone crazy ( scrolls on it's own )

I have the same problem (MATLAB R2017a, OSX 10.12.6). Had this issue time to time and the only fix is to restart MATLAB.

2 years ago | 0

Submitted

Go to mfiles, folders and labels

The MATLAB cd command on steroids

2 years ago | 1 download |

Answered

Problem with rendering patch object when FaceVertexAlphaData is given

It seems a simple command fixed the problem: opengl hardware After running this command and replotting the figure, I get...

Problem with rendering patch object when FaceVertexAlphaData is given

It seems a simple command fixed the problem: opengl hardware After running this command and replotting the figure, I get...

3 years ago | 0

| accepted

Question

Problem with rendering patch object when FaceVertexAlphaData is given

When I create a single patch object with different transparency and color per face, Matlab R2016b under OSX seems having a bug i...

3 years ago | 1 answer | 0

Question

Why fprintf('%3.1f',round(-eps)) prints -0.0?

I found some very strange behaviour of the round function in Matlab R2016b (at least for me). I would expect that the round func...

3 years ago | 2 answers | 1

Submitted

Callback function for selecting triangular faces of patch objects

The function can find the index of the face in a triangular patch object which was clicked on

3 years ago | 2 downloads |

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

3 years ago | 1

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 years ago | 2

Submitted

Class handling .cif formatted files

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

4 years ago | 7 downloads |

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

5 years ago | 3 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".

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

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

6 years ago

Solved

Determine if input is odd

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

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

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

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

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

6 years ago | 0 answers | 0

Submitted

Multidimensional matrix multiplication

The simple function performs fast matrix multiplication within multidimensional arrays.

6 years ago | 5 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(); ...

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

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

8 years ago | 2 answers | 0