photo

Pontus Vikstål


Last seen: 11 days ago Active since 2016

Followers: 0   Following: 0

Statistics

  • First Review
  • Thankful Level 3
  • First Answer

View badges

Feeds

View by

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

5 years ago | 1 answer | 1

1

answer

Question


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

5 years ago | 2 answers | 0

2

answers

Question


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

5 years ago | 3 answers | 9

3

answers

Answered
Switch 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 =...

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

5 years ago | 2 answers | 1

2

answers

Question


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

5 years ago | 1 answer | 0

1

answer

Question


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

5 years ago | 0 answers | 0

0

answers

Question


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

6 years ago | 1 answer | 0

1

answer

Answered
R2018b / 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...

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

6 years ago | 3 answers | 0

3

answers

Question


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

6 years ago | 1 answer | 0

1

answer

Question


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

8 years ago | 1 answer | 0

1

answer