# Sandor Toth

### Paul Scherrer Institut

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

**Statistics**

RANK**2,790**

of 249,789

REPUTATION**14**

CONTRIBUTIONS

**6** Questions

**6** Answers

ANSWER ACCEPTANCE **
50.0%
**

VOTES RECEIVED**10**

RANK**4,280** of 17,366

REPUTATION**289**

AVERAGE RATING**3.80**

CONTRIBUTIONS**5** Files

DOWNLOADS **12**

ALL TIME DOWNLOADS**2627**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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

Same problem as last year with macOS 10.12. :/

4 years ago | 0

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.

4 years ago | 0

Submitted

Go to mfiles, folders and labels

The MATLAB cd command on steroids

4 years ago | 1 download |

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

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

5 years ago | 1 answer | 0

### 1

answerQuestion

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

5 years ago | 2 answers | 1

### 2

answersSubmitted

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

5 years ago | 3 downloads |

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

5 years ago | 1

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?

5 years ago | 2

Submitted

Class handling .cif formatted files

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

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

7 years ago | 3 answers | 6

### 3

answersSolved

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

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

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

7 years ago

Solved

Determine if input is odd

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

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

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

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

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

8 years ago | 1 answer | 0

### 1

answerSubmitted

Multidimensional matrix multiplication

The simple function performs fast matrix multiplication within multidimensional arrays.

8 years ago | 4 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(); ...

9 years ago | 0 answers | 0

### 0

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

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

10 years ago | 2 answers | 0