Community Profile

photo

Pontus Vikstål


Last seen: circa un anno fa Attivo dal 2016

Statistiche

  • First Review
  • Thankful Level 3
  • First Answer

Visualizza badge

Content Feed

Visto da

Domanda


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

oltre 4 anni fa | 1 risposta | 1

1

risposta

Domanda


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

oltre 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 4 anni fa | 3 risposte | 9

3

risposte

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

oltre 4 anni fa | 1

Domanda


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

quasi 5 anni fa | 2 risposte | 1

2

risposte

Domanda


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

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta

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

oltre 5 anni fa | 1

Domanda


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

oltre 5 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta