# Pontus Vikstål

**Statistics**

RANK**3 407**

of 277 694

REPUTATION**13**

CONTRIBUTIONS

**10** Questions

**2** Answers

ANSWER ACCEPTANCE **
80.0%
**

VOTES RECEIVED**11**

RANK

of 18 792

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 128 888

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Problem with white lines showing up when exporting surf plots

How can I get rid of white lines that appear when you export a surf plot as eps or pdf? I've already checked out the following ...

mer än 3 år ago | 1 answer | 1

### 1

answerQuestion

Why does the resolution become extremely bad when increasing the linewidth when using the the circle as marker.

As the title is conveying. % Example x = -pi:pi/10:pi; y = tan(sin(x)) - sin(tan(x)); % Plot sc = scatter(x,y,3*100); sc....

mer än 3 år ago | 2 answers | 0

### 2

answersQuestion

How to turn off cmd+mouse wheel zoom in live editor Matlab

As the title says; How can I turn off the feature that zooms in on the live editor when holding down the cmd button and using th...

mer än 3 år ago | 3 answers | 7

### 3

answersSwitch two row of matrix

This way might be even faster. A = [1 3 4; 2 4 5] x = [0 1;1 0]; A = x*A Then there's also this way A = [1 3 4; 2 4 5] A =...

nästan 4 år ago | 1

Question

How to pass a struct as name-value-pairs to a function?

Is it possible to convert a struct to name-value-pairs that is then fed to a function that takes Name-Value pairs as input argum...

nästan 4 år ago | 2 answers | 1

### 2

answersQuestion

Optimize function with Bayesian Optimization

Hi, I'm working with a simple example in trying to understand Bayesian Optimization. Suppose I want to find the minimum of the...

ungefär 4 år ago | 1 answer | 0

### 1

answerQuestion

Matlab container map with repeated keys

Consider the following container map k = ["Jan" "Feb" "Jan" "Mars"]; % Notice that there are two repeated elements which is "Ja...

ungefär 4 år ago | 0 answers | 0

### 0

answersQuestion

How to convert array to tuple?

How can I convert an array a = [1, 2, 3]; to a tuple a = (1, 2, 3) Or let's suppose that I have a matrix. A...

mer än 4 år ago | 1 answer | 0

### 1

answerR2018b / R2019a runs very slow on macOS 10.14

I have exactly the same problem on my MacBook. When I click on a line in a script it takes about a second cursor to appear, it's...

mer än 4 år ago | 1

Question

How to create N-tuples in Matlab?

What would be the easiest way to create a list of n-tuples in Matlab? For example, if I want to generate all possible 3-tuple...

mer än 4 år ago | 1 answer | 0

### 1

answerQuestion

How to create a set subsets?

How can I create a set S that includes a set of subsets. This is how it would look like in python S = [[1,4,7],[1,4],[4,5,7],...

mer än 4 år ago | 1 answer | 0

### 1

answerQuestion

Why is my subplot in for loop only plotting in one of the figures?

Hi! I'm trying to figure out why my code isn't working? My code is only displaying the values in the second subplot, and I don'...

mer än 6 år ago | 1 answer | 0