Community Profile

photo

Pontus Vikstål


Last seen: 12 meses hace Con actividad desde 2016

Estadísticas

  • First Review
  • Thankful Level 3
  • First Answer

Ver insignias

Content Feed

Ver por

Pregunta


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

más de 4 años hace | 1 respuesta | 1

1

respuesta

Pregunta


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

más de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 4 años hace | 3 respuestas | 9

3

respuestas

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

más de 4 años hace | 1

Pregunta


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

más de 4 años hace | 2 respuestas | 1

2

respuestas

Pregunta


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

casi 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 5 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 5 años hace | 1 respuesta | 0

1

respuesta

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

más de 5 años hace | 1

Pregunta


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

más de 5 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 7 años hace | 1 respuesta | 0

1

respuesta