# Sandor Toth

### Paul Scherrer Institut

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

**Statistics**

RANK**3,191**

of 272,919

REPUTATION**14**

CONTRIBUTIONS

**6** Questions

**6** Answers

ANSWER ACCEPTANCE **
50.0%
**

VOTES RECEIVED**10**

RANK**4,280** of 18,433

REPUTATION**304**

AVERAGE RATING**3.80**

CONTRIBUTIONS**5** Files

DOWNLOADS **9**

ALL TIME DOWNLOADS**2728**

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

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

5 years ago | 0

Submitted

Go to mfiles, folders and labels

The MATLAB cd command on steroids

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

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

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

6 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

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

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

6 years ago | 2

Submitted

Class handling .cif formatted files

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

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

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

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

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

8 years ago

Solved

Determine if input is odd

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

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

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

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

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

9 years ago | 1 answer | 0

### 1

answerSubmitted

Multidimensional matrix multiplication

The simple function performs fast matrix multiplication within multidimensional arrays.

9 years ago | 2 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(); ...

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

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

11 years ago | 2 answers | 0